Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
typo (#5959)
zlh0f4b200c3ded
diff --git a/backend/api/v1/auth_service.go b/backend/api/v1/auth_service.goindex e29185b6e3..d1ec9eff4b 100644--- a/backend/api/v1/auth_service.go+++ b/backend/api/v1/auth_service.go@@ -778,8 +778,8 @@ func (s *AuthService) challengeRecoveryCode(ctx context.Context, user *store.Use}func validateEmail(email string) error {- formatedEmail := strings.ToLower(email)- if email != formatedEmail {+ formattedEmail := strings.ToLower(email)+ if email != formattedEmail {return errors.New("email should be lowercase")}if _, err := mail.ParseAddress(email); err != nil {diff --git a/backend/server/principal.go b/backend/server/principal.goindex ffcec89197..d8c97f8795 100644--- a/backend/server/principal.go+++ b/backend/server/principal.go@@ -221,8 +221,8 @@ func (s *Server) registerPrincipalRoutes(g *echo.Group) {}func validateEmail(email string) error {- formatedEmail := strings.ToLower(email)- if email != formatedEmail {+ formattedEmail := strings.ToLower(email)+ if email != formattedEmail {return errors.New("email should be lowercase")}if _, err := mail.ParseAddress(email); err != nil {