This commit is contained in:
Renaud Boyer 2020-12-06 18:02:47 +01:00
parent 1ced8f76b7
commit 7e1a474875

View file

@ -54,7 +54,7 @@ def token():
return jsonify(error=f"{code} already expired"), 400
if auth_code.client_id != client.id:
return jsonify(error=f"are you sure this code belongs to you?"), 400
return jsonify(error="are you sure this code belongs to you?"), 400
LOG.debug(
"Create Oauth token for user %s, client %s", auth_code.user, auth_code.client