Compare commits

...

1 Commits

Author SHA1 Message Date
mlsmaycon
792a6cd524 Check if login failed 2026-08-04 03:31:27 +02:00

View File

@@ -652,7 +652,7 @@ func (s *Server) Login(callerCtx context.Context, msg *proto.LoginRequest) (*pro
// to retry, because turning them into an SSO prompt asks the user to solve
// something that is not theirs to solve, and a browser login cannot succeed
// while Management is unreachable anyway.
if loginStatus != internal.StatusNeedsLogin {
if loginStatus != internal.StatusNeedsLogin && loginStatus != internal.StatusLoginFailed {
state.Set(loginStatus)
return nil, err
}