mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Download and assign avatar when creating LDAP user in database. Fixes issue #1161
This commit is contained in:
@ -98,6 +98,7 @@ class LoginController extends Controller
|
|||||||
|
|
||||||
$user->save();
|
$user->save();
|
||||||
$this->userRepo->attachDefaultRole($user);
|
$this->userRepo->attachDefaultRole($user);
|
||||||
|
$this->userRepo->downloadAndAssignUserAvatar($user);
|
||||||
auth()->login($user);
|
auth()->login($user);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user