From 9d4ba1471dd8410e1597a18478dbb3b7789d4ec7 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 19 Mar 2016 11:17:58 -0400 Subject: Added letter based avatar provider --- app/ServiceProvider/AvatarProvider.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/ServiceProvider') diff --git a/app/ServiceProvider/AvatarProvider.php b/app/ServiceProvider/AvatarProvider.php index 2bbc9c03..73d37d5c 100644 --- a/app/ServiceProvider/AvatarProvider.php +++ b/app/ServiceProvider/AvatarProvider.php @@ -6,6 +6,7 @@ use Pimple\Container; use Pimple\ServiceProviderInterface; use Kanboard\Core\User\Avatar\AvatarManager; use Kanboard\User\Avatar\GravatarProvider; +use Kanboard\User\Avatar\LetterAvatarProvider; /** * Avatar Provider @@ -25,6 +26,7 @@ class AvatarProvider implements ServiceProviderInterface public function register(Container $container) { $container['avatarManager'] = new AvatarManager; + $container['avatarManager']->register(new LetterAvatarProvider($container)); $container['avatarManager']->register(new GravatarProvider($container)); return $container; } -- cgit v1.2.3