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 #1111
This commit is contained in:
parent
d673bf61c2
commit
b56fc21aaf
6 changed files with 55 additions and 32 deletions
app/Http/Controllers
|
@ -92,7 +92,7 @@ class UserController extends Controller
|
|||
$user->roles()->sync($roles);
|
||||
}
|
||||
|
||||
$this->userRepo->downloadGravatarToUserAvatar($user);
|
||||
$this->userRepo->downloadAndAssignUserAvatar($user);
|
||||
|
||||
return redirect('/settings/users');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue