From 4a0f17f1c897bafdb3c47a5e90126f1fc7a760d6 Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Fri, 17 Nov 2023 10:43:46 +1100 Subject: [PATCH] fix: Lowercase domain for signup --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 7e83bcc..6bc5eb3 100644 --- a/main.py +++ b/main.py @@ -62,7 +62,7 @@ def index(): @app.route('/signup', methods=['POST']) def signup(): email = request.form['email'] - domain = request.form['domain'] + domain = request.form['domain'].lower() password = request.form['password'] # Verify domain