You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: options/locale/locale_en-US.ini
+1
Original file line number
Diff line number
Diff line change
@@ -573,6 +573,7 @@ team_name_been_taken = The team name is already taken.
573
573
team_no_units_error = Allow access to at least one repository section.
574
574
email_been_used = The email address is already used.
575
575
email_invalid = The email address is invalid.
576
+
email_domain_is_not_allowed = The domain of user email <b>%s</b> conflicts with EMAIL_DOMAIN_ALLOWLIST or EMAIL_DOMAIN_BLOCKLIST. Please ensure your operation is expected.
576
577
openid_been_used = The OpenID address "%s" is already used.
577
578
username_password_incorrect = Username or password is incorrect.
578
579
password_complexity = Password does not pass complexity requirements:
ctx.Resp.Header().Add("X-Gitea-Warning", fmt.Sprintf("the domain of user email %s conflicts with EMAIL_DOMAIN_ALLOWLIST or EMAIL_DOMAIN_BLOCKLIST", u.Email))
153
+
}
154
+
150
155
log.Trace("Account created by admin (%s): %s", ctx.Doer.Name, u.Name)
ctx.Resp.Header().Add("X-Gitea-Warning", fmt.Sprintf("the domain of user email %s conflicts with EMAIL_DOMAIN_ALLOWLIST or EMAIL_DOMAIN_BLOCKLIST", *form.Email))
assert.Equal(t, "the domain of user email allowedUser1@example1.org conflicts with EMAIL_DOMAIN_ALLOWLIST or EMAIL_DOMAIN_BLOCKLIST", resp.Header().Get("X-Gitea-Warning"))
assert.Equal(t, "the domain of user email user2@example1.com conflicts with EMAIL_DOMAIN_ALLOWLIST or EMAIL_DOMAIN_BLOCKLIST", resp.Header().Get("X-Gitea-Warning"))
0 commit comments