forked from forgejo/forgejo
Fix 500 when deleting account with incorrect password or unsupported login type (#29579)
Fix #26210 --------- Co-authored-by: Jason Song <i@wolfogre.com> (cherry picked from commit ce8a98f8789a7e4e9ee97ab0abac6064d78fb1f6)
This commit is contained in:
parent
abb0294996
commit
76db6d9e74
2 changed files with 19 additions and 2 deletions
|
@ -595,6 +595,8 @@ enterred_invalid_repo_name = The repository name you entered is incorrect.
|
|||
enterred_invalid_org_name = The organization name you entered is incorrect.
|
||||
enterred_invalid_owner_name = The new owner name is not valid.
|
||||
enterred_invalid_password = The password you entered is incorrect.
|
||||
unset_password = The login user has not set the password.
|
||||
unsupported_login_type = The login type is not supported to delete account.
|
||||
user_not_exist = The user does not exist.
|
||||
team_not_exist = The team does not exist.
|
||||
last_org_owner = You cannot remove the last user from the "owners" team. There must be at least one owner for an organization.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue