PowerDNS-Admin/powerdnsadmin/models
Vasileios Markopoulos 94a923a965
Add 'otp_force' basic setting (#1051)
If the 'otp_force' and 'otp_field_enabled' basic settings are both enabled, automatically enable 2FA for the user after login or signup, if needed, by setting a new OTP secret. Redirect the user to a welcome page for scanning the QR code.

Also show the secret key in ASCII form on the user profile page for easier copying into other applications.
2021-12-17 11:41:51 +01:00
..
__init__.py feat: Associate an API Key with accounts (#1044) 2021-12-03 14:12:11 +00:00
account.py feat: Associate an API Key with accounts (#1044) 2021-12-03 14:12:11 +00:00
account_user.py Code refactoring and bug fixes 2020-06-19 08:47:51 +07:00
api_key.py Use secrets module for generating new API keys and passwords 2021-12-04 16:08:07 +01:00
api_key_account.py feat: Associate an API Key with accounts (#1044) 2021-12-03 14:12:11 +00:00
base.py Refactoring the code 2019-12-02 10:32:03 +07:00
domain.py Provision PDA user privileges based On LDAP Attributes (#980) 2021-08-05 19:37:48 +02:00
domain_setting.py Code refactoring and bug fixes 2020-06-19 08:47:51 +07:00
domain_template.py Refactoring the code 2019-12-02 10:32:03 +07:00
domain_template_record.py Fix logging in models 2020-01-29 22:18:15 +07:00
domain_user.py Code refactoring and bug fixes 2020-06-19 08:47:51 +07:00
history.py History Tab Overhaul & Domain Record Modifications Changelog (#1042) 2021-11-30 11:02:37 +02:00
record.py Replace [ZONE] placeholder with domain_name (#960) 2021-10-30 21:24:16 +02:00
record_entry.py Code refactoring and bug fixes 2020-06-19 08:47:51 +07:00
role.py Code refactoring and bug fixes 2020-06-19 08:47:51 +07:00
server.py Code refactoring and bug fixes 2020-06-19 08:47:51 +07:00
setting.py Add 'otp_force' basic setting (#1051) 2021-12-17 11:41:51 +01:00
user.py Add 'otp_force' basic setting (#1051) 2021-12-17 11:41:51 +01:00