You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These 3 doesn't seems to be working fine together.
Devise::RegistrationsController#create isn't working for the default case and I get in the logs Unpermitted parameters: email, password, password_confirmation.
I didn't have time to pull devise and run the tests, but what I could find was that
These 3 doesn't seems to be working fine together.
Devise::RegistrationsController#create
isn't working for the default case and I get in the logsUnpermitted parameters: email, password, password_confirmation
.I didn't have time to pull devise and run the tests, but what I could find was that
This is almost the same code run in a test case in devise's test suite, but with a different end result.
This may be the same problem of #2452.
I found that #permit was receiving an Array instead of multiple parameters here https://github.com/plataformatec/devise/blob/master/lib/devise/parameter_sanitizer.rb#L48 and this may be the root cause. See the implementation of permit here https://github.com/rails/strong_parameters/blob/master/lib/action_controller/parameters.rb#L64
Anyway, this is an incomplete report, I'll try to look into it and improve this report in the following days.
The text was updated successfully, but these errors were encountered: