Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: add the GitLab link of configuring the public email (#2184)
h3n4l8e4e3890c3f7
diff --git a/resources/mysql/mysql_test.go b/resources/mysql/mysql_test.goindex 64cebd9073..57bea5a5fb 100644--- a/resources/mysql/mysql_test.go+++ b/resources/mysql/mysql_test.go@@ -23,7 +23,7 @@ func TestStartMySQL(t *testing.T) {mysql, err := Install(basedir, datadir, "root")require.NoError(t, err)- err = mysql.Start(13306 /* port */, os.Stdout, os.Stderr)+ err = mysql.Start(23306 /* port */, os.Stdout, os.Stderr)require.NoError(t, err)db, err := sql.Open("mysql", fmt.Sprintf("root@tcp(localhost:%d)/mysql", mysql.Port()))diff --git a/server/auth.go b/server/auth.goindex 110739ef69..d8e30a0f7d 100644--- a/server/auth.go+++ b/server/auth.go@@ -142,7 +142,11 @@ func (s *Server) registerAuthRoutes(g *echo.Group) {// Create a new user if not existif user == nil {if userInfo.PublicEmail == "" {- return echo.NewHTTPError(http.StatusNotFound, "Please configure your public email first, https://docs.github.com/en/account-and-profile")+ profileLink := "https://docs.github.com/en/account-and-profile"+ if authProvider == api.PrincipalAuthProviderGitlabSelfHost {+ profileLink = "https://docs.gitlab.com/ee/user/profile/#set-your-public-email"+ }+ return echo.NewHTTPError(http.StatusNotFound, fmt.Sprintf("Please configure your public email first, %s.", profileLink))}// If the user logins via VCS for the first time, we will generate a random// password. The random password is supposed to be not guessable. If user wants