Skip to content

Commit

Permalink
cas_options :validate_url should be :service_validate_url (mastodon#1…
Browse files Browse the repository at this point in the history
…0328)

Otherwise, no matter what is given for CAS_VALIDATE_URL the default /serviceValidate path would be used.
  • Loading branch information
enewhuis authored and Gargron committed Mar 21, 2019
1 parent 7657872 commit 6c636a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/omniauth.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
cas_options[:host] = ENV['CAS_HOST'] if ENV['CAS_HOST']
cas_options[:port] = ENV['CAS_PORT'] if ENV['CAS_PORT']
cas_options[:ssl] = ENV['CAS_SSL'] == 'true' if ENV['CAS_SSL']
cas_options[:validate_url] = ENV['CAS_VALIDATE_URL'] if ENV['CAS_VALIDATE_URL']
cas_options[:service_validate_url] = ENV['CAS_VALIDATE_URL'] if ENV['CAS_VALIDATE_URL']
cas_options[:callback_url] = ENV['CAS_CALLBACK_URL'] if ENV['CAS_CALLBACK_URL']
cas_options[:logout_url] = ENV['CAS_LOGOUT_URL'] if ENV['CAS_LOGOUT_URL']
cas_options[:login_url] = ENV['CAS_LOGIN_URL'] if ENV['CAS_LOGIN_URL']
Expand Down

0 comments on commit 6c636a8

Please sign in to comment.