ruby on rails - Devise Reset Password POSTs instead of PUT -
i'm using non customized version of devise in app , running issues reset password functionality.
the default reset password form's method put upon submitting form, posts causes give me error missing email field. post/create method in passwordscontroller of devise emailing user password reset link. put/update method actual resetting of password.
none of devise stuff altered in way. devise version 3.5.7 , rails 4.2.6
i've put of relevant code in gist here: https://gist.github.com/dsarhadian/a7950e480bffc2906f77b0e542792f5a
any appreciated...
in logs says:
rendered devise/passwords/edit.html.erb within layouts/application (3.3ms)
are sure edit.html.erb file renders form.html.erb
view?
because when @ source.html
file, seems rendering different form has path post method.
form.html.erb
uses put method. seems me wrong form rendered.
Comments
Post a Comment