From 6b46a94a8714992cf90e99a6e790325e91e11786 Mon Sep 17 00:00:00 2001 From: Mateusz779 Date: Thu, 13 Apr 2023 11:53:45 +0200 Subject: [PATCH] - --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 2de56a1..9726fa8 100644 --- a/app.py +++ b/app.py @@ -18,7 +18,7 @@ ssh_thread.start() @app.route('/') def main(): auth_token = request.cookies.get('auth_token') - if auth_token != "" and auth_token is not None: + if auth_token != "" or auth_token is not None: if db.get_user_bytoken(auth_token) is None: return render_template('template/login.html') return render_template('template/index.html')