Skip to content

Commit

Permalink
use service param if available in logout page's login form
Browse files Browse the repository at this point in the history
  • Loading branch information
bellmyer committed May 17, 2019
1 parent dd16680 commit df32947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/casserver/server.rb
Original file line number Diff line number Diff line change
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 df32947

Please sign in to comment.