Add option for administrator to reset user 2FA (#14243)

* Frontend

* Backend

* only show 2FA-Reset option if posible
This commit is contained in:
6543 authored and GitHub committed 2021-01-05 14:54:48 +01:00
1 parent 15a475b7db
commit 325add71cf
4 files changed
+35

No files matched your search

+1
View File
@@ -42,6 +42,7 @@ type AdminEditUserForm struct {
AllowImportLocal bool
AllowCreateOrganization bool
ProhibitLogin bool
Reset2FA bool `form:"reset_2fa"`
}
// Validate validates form fields