parent
2ca56b6df7
commit
2ea4a1801e
|
@ -148,7 +148,7 @@ async def login_auth() -> ResponseReturnValue:
|
||||||
if auth_provider.get_name() not in session['auth_providers']:
|
if auth_provider.get_name() not in session['auth_providers']:
|
||||||
auth_forms[auth_provider.get_name()]=form
|
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
|
remember_me = True
|
||||||
# if db_user is None:
|
# if db_user is None:
|
||||||
# db_user = User(username=session['username'])
|
# db_user = User(username=session['username'])
|
||||||
|
|
Loading…
Reference in a new issue