Fix user creation issue in remote user provider

This commit is contained in:
Bubka 2022-05-18 16:09:41 +02:00
parent 1ef1f15633
commit 6fab8abb9a

View File

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