allow gravatars

This commit is contained in:
Umputun
2019-07-06 12:45:33 -05:00
parent ed3d0a314f
commit f4335105c2
+1
View File
@@ -670,6 +670,7 @@ func (s *ServerCommand) makeAuthenticator(ds *service.DataStore, avas avatar.Sto
AvatarRoutePath: "/api/v1/avatar",
Logger: log.Default(),
RefreshCache: newAuthRefreshCache(),
UseGravatar: true,
})
s.addAuthProviders(authenticator)
return authenticator