mirror of
https://github.com/go-gitea/gitea
synced 2025-07-03 09:07:19 +00:00
Forbid removing the last admin user (#28337)
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
@ -423,6 +423,7 @@ authorization_failed_desc = The authorization failed because we detected an inva
|
||||
sspi_auth_failed = SSPI authentication failed
|
||||
password_pwned = The password you chose is on a <a target="_blank" rel="noopener noreferrer" href="https://haveibeenpwned.com/Passwords">list of stolen passwords</a> previously exposed in public data breaches. Please try again with a different password and consider changing this password elsewhere too.
|
||||
password_pwned_err = Could not complete request to HaveIBeenPwned
|
||||
last_admin = You cannot remove the last admin. There must be at least one admin.
|
||||
|
||||
[mail]
|
||||
view_it_on = View it on %s
|
||||
@ -588,6 +589,8 @@ org_still_own_packages = "This organization still owns one or more packages, del
|
||||
|
||||
target_branch_not_exist = Target branch does not exist.
|
||||
|
||||
admin_cannot_delete_self = You cannot delete yourself when you are an admin. Please remove your admin privileges first.
|
||||
|
||||
[user]
|
||||
change_avatar = Change your avatar…
|
||||
joined_on = Joined on %s
|
||||
|
Reference in New Issue
Block a user