diff options
| author | 2018-03-30 16:05:20 +0100 | |
|---|---|---|
| committer | 2018-03-30 16:05:20 +0100 | |
| commit | f9804c8e350a59d105a4132a313e8e082cac1f2b (patch) | |
| tree | b384a296b44284a4c7bb236d211b7263d5f9c58e /pysite/oauth.py | |
| parent | Whoopsie (diff) | |
I guess we can let that data be inserted.
Diffstat (limited to '')
| -rw-r--r-- | pysite/oauth.py | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/pysite/oauth.py b/pysite/oauth.py index b34be02a..ef86aa8a 100644 --- a/pysite/oauth.py +++ b/pysite/oauth.py @@ -60,7 +60,9 @@ class OauthBackend(BaseBackend):          self.db.insert(              "users",              { -                "id": int(user_data["id"]), +                "user_id": int(user_data["id"]), +                "username": user_data["username"], +                "discriminator": user_data["discriminator"],                  "email": user_data["email"]              },              conflict="update" | 
