Skip to content

Commit

Permalink
Fix authorization_code grant_user
Browse files Browse the repository at this point in the history
  • Loading branch information
lepture committed Sep 27, 2019
1 parent df47c2b commit 6ab7cc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/oauth2.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def create_authorization_code(self, client, grant_user, request):
client_id=client.client_id,
redirect_uri=request.redirect_uri,
scope=request.scope,
user_id=user.id,
user_id=grant_user.id,
)
db.session.add(item)
db.session.commit()
Expand Down

0 comments on commit 6ab7cc9

Please sign in to comment.