mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-24 20:02:35 +01: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