1
0
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:
jakob 2019-10-25 15:40:14 +02:00 committed by Dan Brown
parent b80aa2350f
commit bea983ab85

View File

@ -98,6 +98,7 @@ class LoginController extends Controller
$user->save();
$this->userRepo->attachDefaultRole($user);
$this->userRepo->downloadAndAssignUserAvatar($user);
auth()->login($user);
}