97c8504f91915b01e5ee53c0f5285bd64dd88dd9 — Emerson Veenstra 4 months ago 19a4b80 master v0.1
use email instead of id to mark auth, for historical reasons
1 files changed, 1 insertions(+), 1 deletions(-)

M openproxyherder.py
M openproxyherder.py => openproxyherder.py +1 -1
@@ 30,7 30,7 @@ async def get_auth_id(auth_email, auth_pass):
         except argon2.exceptions.VerifyMismatchError:
             return False
         else:
-            return auth_login[0]["id"]
+            return auth_login[0]["email"]
 
 
 @app.route("/api/v1/add", methods=["POST"])