Forráskód Böngészése

fix github email can contain uppercase char

Son NK 5 éve
szülő
commit
a0372a15de
1 módosított fájl, 1 hozzáadás és 0 törlés
  1. 1 0
      app/auth/views/github.py

+ 1 - 0
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