Small correction to web example

This commit is contained in:
Steve Bazyl 2016-01-15 12:16:47 -08:00
parent 2b63b591ba
commit 72fb8df541
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ get('/authorize') do
user_id = request.session['user_id'] user_id = request.session['user_id']
credentials = authorizer.get_credentials(user_id, request) credentials = authorizer.get_credentials(user_id, request)
if credentials.nil? if credentials.nil?
redirect authorizer.get_authorization_url(user_id: user_id, request: request) redirect authorizer.get_authorization_url(login_hint: user_id, request: request)
end end
# Credentials are valid, can call APIs # Credentials are valid, can call APIs
# ... # ...