Skip to content

Commit

Permalink
redirect_uri is used by BBB when generating a new token; so it has to…
Browse files Browse the repository at this point in the history
… work for anon users
  • Loading branch information
romanchyla committed May 1, 2017
1 parent 7d843c2 commit c2d8559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adsws/accounts/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ def get(self):
email=current_app.config['BOOTSTRAP_USER_EMAIL']
))

if scopes or client_name or redirect_uri:
if scopes or client_name:
abort(401, "Sorry, you cant change scopes/name/redirect_uri of this user")

if current_user.email == current_app.config['BOOTSTRAP_USER_EMAIL']:
Expand Down

0 comments on commit c2d8559

Please sign in to comment.