Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Return of session[:renew].

Without it omniauth failure will result in redirect to service without renewing session.
  • Loading branch information...
commit 986b48cc43aa659e9d8be583e19b26b18855c35e 1 parent d725540
@Slotos authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/casserver/server.rb
View
1  lib/casserver/server.rb
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.