mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-04-28 16:15:56 +00:00
Try to get more information about the user when authenticating with openid
This commit is contained in:
@@ -79,7 +79,7 @@ func GetAllProviders() (providers []*Provider, err error) {
|
||||
func GetProvider(key string) (provider *Provider, err error) {
|
||||
var p interface{}
|
||||
p, exists, err := keyvalue.Get("openid_provider_" + key)
|
||||
if exists {
|
||||
if !exists {
|
||||
_, err = GetAllProviders() // This will put all providers in cache
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user