]> BookStack Code Mirror - bookstack/commitdiff
Merge branch 'master' of github.com:BookStackApp/BookStack
authorDan Brown <redacted>
Tue, 29 Oct 2019 22:34:12 +0000 (22:34 +0000)
committerDan Brown <redacted>
Tue, 29 Oct 2019 22:34:12 +0000 (22:34 +0000)
app/Http/Controllers/Auth/LoginController.php

index c739fd9a337387a973ba12d119059f84cf27cd07..2b51ab99765d069470f66252b67bf514ff7f8e5a 100644 (file)
@@ -98,6 +98,7 @@ class LoginController extends Controller
 
             $user->save();
             $this->userRepo->attachDefaultRole($user);
+            $this->userRepo->downloadAndAssignUserAvatar($user);
             auth()->login($user);
         }