Stop clobbering the scope variable.
This commit is contained in:
parent
e0bb94e439
commit
979f78f677
1 changed files with 1 additions and 1 deletions
|
@ -374,7 +374,7 @@ def request_authorization_code():
|
|||
}
|
||||
|
||||
# Show the authorization page.
|
||||
has_dangerous_scopes = bool([scope for scope in scope_info if scope['dangerous']])
|
||||
has_dangerous_scopes = any([check_scope['dangerous'] for check_scope in scope_info])
|
||||
return render_page_template('oauthorize.html', scopes=scope_info,
|
||||
has_dangerous_scopes=has_dangerous_scopes,
|
||||
application=oauth_app_view,
|
||||
|
|
Reference in a new issue