summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/auth/sso/basic.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/auth/sso/basic.go b/modules/auth/sso/basic.go
index b5885d38db..aab4eceebc 100644
--- a/modules/auth/sso/basic.go
+++ b/modules/auth/sso/basic.go
@@ -56,7 +56,7 @@ func (b *Basic) VerifyAuthData(ctx *macaron.Context, sess session.Store) *models
}
auths := strings.Fields(baHead)
- if len(auths) != 2 || auths[0] != "Basic" {
+ if len(auths) != 2 || (auths[0] != "Basic" && auths[0] != "basic") {
return nil
}