diff options
author | jessib <jessib@riseup.net> | 2013-09-23 10:32:29 -0700 |
---|---|---|
committer | jessib <jessib@riseup.net> | 2013-09-23 10:32:29 -0700 |
commit | 906e177b35606835c4f10a9de65d9bd83cbe21ad (patch) | |
tree | cff03ec9d0ca922180315ec605c62aa1039b8449 | |
parent | 3a2e64c75f67af89ffd78dbf80dd947896d85d22 (diff) | |
parent | c081062ea16526dfbf3ad9ba0fdec724be67949c (diff) |
Merge branch 'develop' into feature/only_lower_case_aliases
-rw-r--r-- | users/lib/warden/strategies/secure_remote_password.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/users/lib/warden/strategies/secure_remote_password.rb b/users/lib/warden/strategies/secure_remote_password.rb index 4688fcd..2c334c6 100644 --- a/users/lib/warden/strategies/secure_remote_password.rb +++ b/users/lib/warden/strategies/secure_remote_password.rb @@ -31,6 +31,7 @@ module Warden Rails.logger.warn "Login attempt failed." Rails.logger.debug debug_info Rails.logger.debug "Received: #{params['client_auth']}" + session.delete(:handshake) fail!(:base => "invalid_user_pass") end end |