Skip to content

Commit

Permalink
Merge pull request #33 from bellmyer/allow-logout-page-service-param
Browse files Browse the repository at this point in the history
use service param if available in logout page's login form
  • Loading branch information
sadleb committed May 23, 2019
2 parents a4ffd20 + df32947 commit 0be7766
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/casserver/server.rb
Expand Up @@ -531,7 +531,7 @@ def self.init_database!

# BZ modification: always use default service so logout/login goes back to our main
# site (which can redirect) regardless of where they came from
@service = clean_service_url(settings.config[:default_service]) # params['service'] || params['destination'])
@service = clean_service_url(params['service'] || settings.config[:default_service]) # params['service'] || params['destination'])
@continue_url = params['url']

@gateway = params['gateway'] == 'true' || params['gateway'] == '1'
Expand Down

0 comments on commit 0be7766

Please sign in to comment.