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
I'm using activator 1.0.0.
I'm simply calling the app.post("/api/passwordreset", activator.createPasswordReset);
using the package request with http://pastebin.com/S0WX6Kct
Can you step through it using debug? When it calls createPasswordReset, it should be in L184 of activator.js. L185 then attaches the req.param() override using param(req), which just includes params.js, which never should use the express req.param().
Im trying to use the passwordreset but the user keeps on being undefined.
Error log:
Wed, 06 May 2015 02:42:54 GMT express deprecated req.param(name): Use req.params, req.body, or req.query instead at routes/account.api.js:351:18
source: http://expressjs.com/api.html#app.param
This results in activator calling the usermodel with a username undefined.
And therefore, the whole passwordreset system is not working.
The text was updated successfully, but these errors were encountered: