From a0372a15def03d90c0e00af03085faa61373b669 Mon Sep 17 00:00:00 2001 From: Son NK Date: Thu, 5 Mar 2020 10:58:58 +0100 Subject: [PATCH] fix github email can contain uppercase char --- app/auth/views/github.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/auth/views/github.py b/app/auth/views/github.py index 6a23ab0d..7fb8c1c4 100644 --- a/app/auth/views/github.py +++ b/app/auth/views/github.py @@ -81,6 +81,7 @@ def github_callback(): if not email: raise Exception("cannot get email for github user") + email = email.lower() user = User.get_by(email=email) # create user