summaryrefslogtreecommitdiff
path: root/users
diff options
context:
space:
mode:
authorjessib <jessib@riseup.net>2013-09-23 10:32:29 -0700
committerjessib <jessib@riseup.net>2013-09-23 10:32:29 -0700
commit906e177b35606835c4f10a9de65d9bd83cbe21ad (patch)
treecff03ec9d0ca922180315ec605c62aa1039b8449 /users
parent3a2e64c75f67af89ffd78dbf80dd947896d85d22 (diff)
parentc081062ea16526dfbf3ad9ba0fdec724be67949c (diff)
Merge branch 'develop' into feature/only_lower_case_aliases
Diffstat (limited to 'users')
-rw-r--r--users/lib/warden/strategies/secure_remote_password.rb1
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