Skip to content

Commit

Permalink
Fixed SAML Login Issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddarth R committed Aug 31, 2018
1 parent cadabca commit 2e30655
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/saml_idp_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class SamlIdpController < SamlIdp::IdpController
private

def idp_authenticate(email, password)
User.find_and_check_user(email, password)
valid_user = User.find_and_check_user(email, password)
valid_user ? User.get_user(email) : nil
end

Expand Down

0 comments on commit 2e30655

Please sign in to comment.