Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
fix: wrong error type (#681)
Zilong Zhouf99defb58567
diff --git a/server/auth.go b/server/auth.goindex b3b890bd83..8a8e719fff 100644--- a/server/auth.go+++ b/server/auth.go@@ -97,7 +97,7 @@ func (s *Server) registerAuthRoutes(g *echo.Group) {// we only allow active user to login via gitlabif GitlabUserInfo.State != vcsPlugin.StateActive {- return echo.NewHTTPError(http.StatusInternalServerError, "Fail to login via Gitlab, user is Archived")+ return echo.NewHTTPError(http.StatusUnauthorized, "Fail to login via Gitlab, user is Archived")}principalFind := &api.PrincipalFind{