Skip to content

Commit

Permalink
Return of session[:renew].
Browse files Browse the repository at this point in the history
Without it omniauth failure will result in redirect to service without renewing session.
  • Loading branch information
Slotos committed Jul 4, 2012
1 parent d725540 commit 986b48c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/casserver/server.rb
Expand Up @@ -379,6 +379,7 @@ def self.init_database!
@gateway = params['gateway'] == 'true' || params['gateway'] == '1'

session[:service] = @service
session[:renew] = @renew

if tgc = request.cookies['tgt']
tgt, tgt_error = validate_ticket_granting_ticket(tgc)
Expand Down

0 comments on commit 986b48c

Please sign in to comment.