mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-18 14:21:05 +00:00
Updated laravel to 5.2 and started ldap implementation
This commit is contained in:
parent
e27a630a09
commit
14ca31768c
20 changed files with 950 additions and 517 deletions
app/Http/Controllers
|
@ -72,7 +72,7 @@ class UserController extends Controller
|
|||
$user->attachRoleId($request->get('role'));
|
||||
|
||||
// Get avatar from gravatar and save
|
||||
if (!env('DISABLE_EXTERNAL_SERVICES', false)) {
|
||||
if (!config('services.disable_services')) {
|
||||
$avatar = \Images::saveUserGravatar($user);
|
||||
$user->avatar()->associate($avatar);
|
||||
$user->save();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue