-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: allow
reset_otp_secret
only if Two Factor Auth is enabled (bac…
…kport #20506) (#20560) * fix: allow `reset_otp_secret` only if Two Factor Auth is enabled (#20506) * fix: display `Reset OTP Secret` button only if Two factor Auth is enabled * fix: added validations and fetched value from cached doc * fix: linter changes (cherry picked from commit 06580bd) # Conflicts: # frappe/core/doctype/user/user.js # frappe/twofactor.py * chore: conflicts --------- Co-authored-by: Daizy Modi <modidaizy5217@gmail.com> Co-authored-by: Ankush Menat <ankush@frappe.io>
- Loading branch information
1 parent
4d6b776
commit e8025a4
Showing
2 changed files
with
59 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters