Commit bf7bb70d authored by Linus Lewandowski's avatar Linus Lewandowski

Remove irrelevant comment (it affects only refresh tokens).

parent 8184418a
Pipeline #11348760 passed with stages
in 3 minutes and 44 seconds
......@@ -47,9 +47,6 @@ class TokenView(View):
if request.user != code.client:
raise invalid_grant()
# TODO check consent (so we won't generate new tokens after revocation)
# raise invalid_grant()
response = {}
token_type, access_token, expires_in = makeAccessToken(client=code.client, user=code.user, scope=code.scope, confidential=code.client.oauth_auth_method != 'none')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment