diff options
author | jessib <jessib@riseup.net> | 2013-10-10 10:56:09 -0700 |
---|---|---|
committer | jessib <jessib@riseup.net> | 2013-10-10 10:56:09 -0700 |
commit | 0acbf6a158f149c1f4273bde0cfca47547e080f8 (patch) | |
tree | 7e836d84ef8b879670b54eaaf6a8d3ae53ab7e14 /users/lib | |
parent | b60a75d8cbe25ac47bb037e9e54a7cf4e2ba4e1f (diff) | |
parent | d6491496704b3909a93b5883f049becb408e0e47 (diff) |
Merge pull request #96 from azul/release/0.2.4
Release/0.2.4
Diffstat (limited to 'users/lib')
-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 |