netlify / gotrue-js

JavaScript client library for GoTrue
MIT License
470 stars 68 forks source link

Issue with Recovery #248

Open skllpr opened 3 years ago

skllpr commented 3 years ago

Bug: Trying to recover password multiple times doesn't work (change password, recover password immediately after)

Recover password, change password, recover password.

Some unusual behavior: only 1 recovery email is sent. Reuse of this email won't work.

Expected behavior: new password recovery email each time user requests it.

Not sure if this is related to anti-spam (prevent email password being lost over and over again and email resent)

dipscom commented 3 years ago

It is my understading that there is a 15 minute cooldown between requests. I have experienced this when testing the recovery and change password methods and remember reading somewhere (can't remember where) about such delay.