loopback icon indicating copy to clipboard operation
loopback copied to clipboard

verification token not getting removed on confirm

Open gshireesh opened this issue 11 years ago • 3 comments

https://github.com/strongloop/loopback/blob/master/common/models/user.js#L467

i hope the code here should be user.verificationToken = "";

gshireesh avatar Dec 02 '15 00:12 gshireesh

It should be set to null. Patch please.

raymondfeng avatar Dec 02 '15 03:12 raymondfeng

@raymondfeng when i tried the memory db, i could see that verification token is not getting removed. Do you want me to make a pull request for this. with "null" ??

gshireesh avatar Dec 02 '15 05:12 gshireesh

Thanks so much for reporting this bug!

@gshireesh Possibly duplicate of this issue as well. I will be closing this ticket. Please comment there.

Thanks so much :-)

Amir-61 avatar Dec 04 '15 21:12 Amir-61