From 7f41872c5a67b06417ea2ceb5abdd94b13b11537 Mon Sep 17 00:00:00 2001 From: Lynne Date: Tue, 13 Nov 2018 20:26:10 +1000 Subject: [PATCH] how the hell did this shit get here --- web.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web.py b/web.py index 83624dc..f497cda 100755 --- a/web.py +++ b/web.py @@ -143,7 +143,7 @@ def internal_auth_b(): if c.fetchone()[0] > 0: #user already has an account with CG #update the user's info to use the new info we just got, then redirect them to the login page - c.execute("UPDATE data SET client_id = ?, client_secret = ?, secret = ?, avi = ? WHERE username = %s AND instance = %s", (session['client_id'], session['client_secret'], session['secret'], session['avi'], session['username'], session['instance'])) + c.execute("UPDATE data SET client_id = %s, client_secret = %s, secret = %s, avi = %s WHERE username = %s AND instance = %s", (session['client_id'], session['client_secret'], session['secret'], session['avi'], session['username'], session['instance'])) return redirect(url_for('log_in')) else: return redirect(url_for('create_password'))