From 2ea4a1801e112a5e4afcd80eb0fc273d727cafee Mon Sep 17 00:00:00 2001 From: tuxcoder Date: Mon, 13 Nov 2023 21:50:07 +0100 Subject: [PATCH] hotfix for issue #1 don't show TOTP for now --- lenticular_cloud/views/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lenticular_cloud/views/auth.py b/lenticular_cloud/views/auth.py index 40eaa0d..308f910 100644 --- a/lenticular_cloud/views/auth.py +++ b/lenticular_cloud/views/auth.py @@ -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'])