Closed imranismail closed 8 years ago
The problem here is that the params are not "email" or "password". They're nested under the "user" key rather than being top level.
I'd suggest that rather than including a model which would add significant coupling and complexity, that we allow the params key that it is nested under to be specified.
Thoughts?
Yep that's right, that could work too. I think it's more versatile that way and it would cover a lot more corner cases.
Issue
Params submitted from this form doesn't get captured into auth struct
params
Suggestion
allow specifying model to be authenticated against in config so that it can be made useful to collect the fields from a form_for submission