mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-08-26 04:05:57 +00:00
Download and assign avatar when creating LDAP user in database. Fixes issue #1161
This commit is contained in:
parent
b80aa2350f
commit
bea983ab85
@ -98,6 +98,7 @@ class LoginController extends Controller
|
||||
|
||||
$user->save();
|
||||
$this->userRepo->attachDefaultRole($user);
|
||||
$this->userRepo->downloadAndAssignUserAvatar($user);
|
||||
auth()->login($user);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user