fix: link user_id to user's id in user credentials
This commit is contained in:
parent
fb3b2a6c6c
commit
debfb5201e
1 changed files with 4 additions and 1 deletions
|
@ -356,7 +356,10 @@ class Storage implements
|
|||
*/
|
||||
public function getUserDetails($username)
|
||||
{
|
||||
return User::where('username', $username)->first();
|
||||
$user = User::where('username', $username)->first();
|
||||
$user->user_id = $user->id;
|
||||
|
||||
return $user;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue