0
0
Fork 0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-05-19 06:31:30 +00:00

Abstracted user avatar fetching away from gravatar

Still uses gravatar as a default.
Updated URL placeholders to follow LDAP format.
Potential breaking config change: `GRAVATAR=false` replaced by `AVATAR_URL=false`
Builds upon 
This commit is contained in:
Dan Brown 2018-12-22 19:29:19 +00:00
parent d673bf61c2
commit b56fc21aaf
No known key found for this signature in database
GPG key ID: 46D9F943C24A2EF9
6 changed files with 55 additions and 32 deletions
app/Http/Controllers

View file

@ -92,7 +92,7 @@ class UserController extends Controller
$user->roles()->sync($roles);
}
$this->userRepo->downloadGravatarToUserAvatar($user);
$this->userRepo->downloadAndAssignUserAvatar($user);
return redirect('/settings/users');
}