add setting to hide otp_token field on login page

This commit is contained in:
Steffen Schwebel
2021-05-27 22:51:07 +02:00
parent ee72fdf9c2
commit 43a6e46e66
3 changed files with 3 additions and 2 deletions

View File

@ -180,6 +180,7 @@ class Setting(db.Model):
'URI': False
},
'ttl_options': '1 minute,5 minutes,30 minutes,60 minutes,24 hours',
'otp_field_enabled': True,
}
def __init__(self, id=None, name=None, value=None):