Added testing for avatar fetching systems & config

Abstracts imageservice http interaction.
Closes #1193
This commit is contained in:
Dan Brown
2018-12-23 15:34:38 +00:00
parent 866187830a
commit 68017e2553
11 changed files with 217 additions and 71 deletions

View File

@ -21,9 +21,7 @@ return [
'drawio' => env('DRAWIO', !env('DISABLE_EXTERNAL_SERVICES', false)),
// URL for fetching avatars
'avatar_url' => env('AVATAR_URL',
env('DISABLE_EXTERNAL_SERVICES', false) ? false : 'https://www.gravatar.com/avatar/${hash}?s=${size}&d=identicon'
),
'avatar_url' => env('AVATAR_URL', ''),
// Callback URL for social authentication methods
'callback_url' => env('APP_URL', false),