mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-01-23 06:38:34 +01:00
Fix user creation issue in remote user provider
This commit is contained in:
parent
1ef1f15633
commit
6fab8abb9a
@ -29,7 +29,7 @@ public function retrieveById($identifier)
|
||||
|
||||
$user = new User;
|
||||
$user->name = $identifier['user'];
|
||||
$user->email = Arr::has($identifier, 'email') ? $identifier['email'] : $identifier['user'];
|
||||
$user->email = Arr::has($identifier, 'email') ? : 'user@auth.proxy';
|
||||
|
||||
return $user;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user