devise_saml_authenticatable
devise_saml_authenticatable copied to clipboard
Fix prepend_before_action order on SamlSessionsController
Fixes issue 219: https://github.com/apokalipto/devise_saml_authenticatable/issues/219
The names in prepend_before_action do have the wrong order. The last one gets called first. If store_info_for_sp_initiated_logout gets called before verify_signed_out_user, this lead to the issuer that current_user is nil.
Arguably, store_info_for_sp_initiated_logout should also terminate if current_user.nil?