mirror of
https://github.com/go-gitea/gitea
synced 2025-07-14 14:37:20 +00:00
Add option for administrator to reset user 2FA (#14243)
* Frontend * Backend * only show 2FA-Reset option if posible
This commit is contained in:
@ -42,6 +42,7 @@ type AdminEditUserForm struct {
|
||||
AllowImportLocal bool
|
||||
AllowCreateOrganization bool
|
||||
ProhibitLogin bool
|
||||
Reset2FA bool `form:"reset_2fa"`
|
||||
}
|
||||
|
||||
// Validate validates form fields
|
||||
|
Reference in New Issue
Block a user