summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/authentication.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/authentication.go b/app/authentication.go
index 3691c7c3e..369458527 100644
--- a/app/authentication.go
+++ b/app/authentication.go
@@ -160,7 +160,7 @@ func authenticateUser(user *model.User, password, mfaToken string) (*model.User,
}
} else if user.AuthService != "" {
authService := user.AuthService
- if authService == model.USER_AUTH_SERVICE_SAML || authService == model.USER_AUTH_SERVICE_LDAP {
+ if authService == model.USER_AUTH_SERVICE_SAML {
authService = strings.ToUpper(authService)
}
err := model.NewLocAppError("login", "api.user.login.use_auth_service.app_error", map[string]interface{}{"AuthService": authService}, "")