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'])