Fix missing email address of remote user

This commit is contained in:
Bubka 2022-05-18 22:50:03 +02:00
parent 6fab8abb9a
commit c2edd69c54

View File

@ -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;
}