Fix password reset dialog

This commit is contained in:
Jonathan Cremin 2016-04-10 12:02:24 +01:00
parent 5a06a37a83
commit edd3a2fc54

View file

@ -171,7 +171,7 @@ export function* fromCookie(cookie) {
export function* validateResetToken() {
const Reset = this.db.Reset;
return yield Reset.findOne({token: this.params.id});
return yield Reset.findOne({token: this.params.token});
}