diff options
Diffstat (limited to 'internal/auth/github/provider.go')
-rw-r--r-- | internal/auth/github/provider.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/auth/github/provider.go b/internal/auth/github/provider.go index eab9aa58..4d15c6a4 100644 --- a/internal/auth/github/provider.go +++ b/internal/auth/github/provider.go @@ -26,7 +26,7 @@ func (p *Provider) Authenticate(login, password string) (*auth.ExternalAccount, fullname, email, website, location, err := p.config.doAuth(login, password) if err != nil { if strings.Contains(err.Error(), "401") { - return nil, auth.ErrBadCredentials{Args: map[string]interface{}{"login": login}} + return nil, auth.ErrBadCredentials{Args: map[string]any{"login": login}} } return nil, err } @@ -40,7 +40,7 @@ func (p *Provider) Authenticate(login, password string) (*auth.ExternalAccount, }, nil } -func (p *Provider) Config() interface{} { +func (p *Provider) Config() any { return p.config } |