mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-08 01:14:29 +01:00
Fix missing email address of remote user
This commit is contained in:
parent
6fab8abb9a
commit
c2edd69c54
@ -29,7 +29,7 @@ public function retrieveById($identifier)
|
||||
|
||||
$user = new User;
|
||||
$user->name = $identifier['user'];
|
||||
$user->email = Arr::has($identifier, 'email') ? : 'user@auth.proxy';
|
||||
$user->email = Arr::has($identifier, 'email') ? $identifier['email'] : 'fake.email@do.not.use';
|
||||
|
||||
return $user;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user