permit password param on sign in#2440
Conversation
without this, I'm seeing: Unpermitted parameters: password
|
Can you supply your rails version, devise version, and a failing test? |
|
This is happening on my apps also. Rails 4.0.0.rc1, Device 3.0.0.rc. Using an existing user (email) and the correct password works fine. If you mis-type a user name (email address) or use a non-existent user or mis-type/use invalid password then when Devise goes to re-render the login form the password parameters is already in the params hash and the Unpermitted parameters: password error is raised. |
|
I cannot reproduce this failure on the most up to date master. First, I created a user and then I POSTed to SessionsController with an incorrect email. No error is raised. I have a few suspicions:
|
|
Hi @latortuga,
There error is not happening during the POST - it happens after the redirect and Devise::SessionController#new is processing. Here is a backtrace in case it helps: |
without this, I'm seeing:
Unpermitted parameters: password