mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-08-06 12:02:45 +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();
|
||||
$this->userRepo->attachDefaultRole($user);
|
||||
$this->userRepo->downloadAndAssignUserAvatar($user);
|
||||
auth()->login($user);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user