Enabling an Umbraco admin user to disable 2FA for a member (#13369)

* Fix Invalid authentication code bug

* Add translation keys for 2fa

* Display toggle for 2FA on member

* Add TwoFactorEnabled prop when saving member

* Handle disabling of 2FA

* Fix tests

* Changing obsolete msg

(cherry picked from commit af6b8fc5cb)
This commit is contained in:
Elitsa Marinovska
2022-11-28 13:42:38 +01:00
committed by Sebastiaan Janssen
parent d6d4421a37
commit dabc7bed9b
8 changed files with 170 additions and 40 deletions

View File

@@ -346,6 +346,7 @@
<key alias="createNewMember">Create a new member</key>
<key alias="allMembers">All Members</key>
<key alias="memberGroupNoProperties">Member groups have no additional properties for editing.</key>
<key alias="2fa">Two-Factor Authentication</key>
</area>
<area alias="contentType">
<key alias="copyFailed">Failed to copy content type</key>

View File

@@ -362,6 +362,7 @@
<key alias="memberHasPassword">The member already has a password set</key>
<key alias="memberLockoutNotEnabled">Lockout is not enabled for this member</key>
<key alias="memberNotInGroup">The member is not in group '%0%'</key>
<key alias="2fa">Two-Factor Authentication</key>
</area>
<area alias="contentType">
<key alias="copyFailed">Failed to copy content type</key>