diff options
| author | 2018-03-30 15:59:48 +0100 | |
|---|---|---|
| committer | 2018-03-30 15:59:48 +0100 | |
| commit | b8f0714d514f55a233014db06ed121ffcdbe2527 (patch) | |
| tree | f9bc53acbf32929fc4a10d8078a09853e17bc760 /pysite/oauth.py | |
| parent | Accept username/discriminator from the bot and remove it from oauth (diff) | |
Whoopsie
Diffstat (limited to '')
| -rw-r--r-- | pysite/oauth.py | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/pysite/oauth.py b/pysite/oauth.py index 7a5764ac..b34be02a 100644 --- a/pysite/oauth.py +++ b/pysite/oauth.py @@ -59,7 +59,10 @@ class OauthBackend(BaseBackend):          self.db.insert(              "users", -            {"email": user_data["email"]}, +            { +                "id": int(user_data["id"]), +                "email": user_data["email"] +            },              conflict="update"          ) | 
