Permalink
Browse files

Return of session[:renew].

Without it omniauth failure will result in redirect to service without renewing session.
  • Loading branch information...
1 parent d725540 commit 986b48cc43aa659e9d8be583e19b26b18855c35e @Slotos committed Jul 4, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/casserver/server.rb
View
@@ -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)

0 comments on commit 986b48c

Please sign in to comment.