mirror of
https://github.com/go-gitea/gitea.git
synced 2026-12-04 15:54:57 +00:00
enhance(admin): explain that editing a user's email replaces the primary address (#40643)
Clarifies what saving a changed email on the admin user edit page does: it replaces the primary address and keeps the user's other addresses. Before:  After:  Assisted-by: Codet:Claude
This commit is contained in:
1 parent
03eb1f8221
commit
b2a964031f
2 files changed
+2
No files matched your search
@@ -3195,6 +3195,7 @@
|
||||
"admin.users.auth_source": "Authentication Source",
|
||||
"admin.users.local": "Local",
|
||||
"admin.users.auth_login_name": "Authentication Sign-In Name",
|
||||
"admin.users.email_helper": "Changing the email address replaces the current primary email address. The other email addresses of this user are kept.",
|
||||
"admin.users.password_helper": "Leave the password empty to keep it unchanged.",
|
||||
"admin.users.update_profile_success": "The user account has been updated.",
|
||||
"admin.users.edit_account": "Edit User Account",
|
||||
|
||||
@@ -78,6 +78,7 @@
|
||||
<div class="required field">
|
||||
<label for="email">{{ctx.Locale.Tr "email"}}</label>
|
||||
<input id="email" name="email" type="email" value="{{.User.Email}}" required>
|
||||
<p class="help">{{ctx.Locale.Tr "admin.users.email_helper"}}</p>
|
||||
</div>
|
||||
{{if not .User.IsTypeBot}}
|
||||
<div class="js-local js-non-bot field {{if not (or .User.IsLocal .User.IsOAuth2)}}tw-hidden{{end}}">
|
||||
|
||||
Reference in new issue
Block a user