Calling User.confirm does not remove the verificationToken
The line here https://github.com/strongloop/loopback/blob/master/common/models/user.js#L488
user.verificationToken = undefined;
Results in the verificationToken field not being part of the postgres UPDATE query.
Simply modifying to
user.verificationToken = null;
fixes it
Will try to raise a PR this weekend.
Calling User.confirm does not remove the verificationToken
The line here https://github.com/strongloop/loopback/blob/master/common/models/user.js#L488
user.verificationToken = undefined;Results in the verificationToken field not being part of the postgres UPDATE query.
Simply modifying to
user.verificationToken = null;fixes it
Will try to raise a PR this weekend.