mirror of
https://github.com/simple-login/app.git
synced 2024-09-21 07:25:59 +08:00
fix github email can contain uppercase char
This commit is contained in:
parent
85321313c1
commit
a0372a15de
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue