hotfix for issue #1

don't show TOTP for now
This commit is contained in:
tuxcoder 2023-11-13 21:50:07 +01:00
parent 2ca56b6df7
commit 2ea4a1801e

View file

@ -148,7 +148,7 @@ async def login_auth() -> ResponseReturnValue:
if auth_provider.get_name() not in session['auth_providers']:
auth_forms[auth_provider.get_name()]=form
if len(session['auth_providers']) >= 2:
if len(session['auth_providers']) >= 1: # TODO should be to for TOTP working
remember_me = True
# if db_user is None:
# db_user = User(username=session['username'])