Commit c91bff9f authored by ale's avatar ale

Fix a typo in the previous commit

parent d9c6788f
Pipeline #3212 passed with stages
in 1 minute and 59 seconds
......@@ -47,6 +47,7 @@ type service struct {
backends []backend.ServiceBackend
challengeResponse bool
enforce2FA bool
aspService string
}
func (s *service) checkRateLimits(user *backend.User, req *auth.Request) bool {
......@@ -361,8 +362,8 @@ func (s *Server) authenticateUser(req *auth.Request, svc *service, user *backend
} else {
// Rewrite the 'service' for app-specific
// password matching, if necessary.
if sc.aspService != "" {
req.Service = sc.aspService
if svc.aspService != "" {
req.Service = svc.aspService
}
resp, err = s.authenticateUserWithASP(user, req)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment