django-rest-framework-passwordless icon indicating copy to clipboard operation
django-rest-framework-passwordless copied to clipboard

Feature Request: Resend code feature?

Open Goutam192002 opened this issue 3 years ago • 2 comments

I think this is important feature.

Consider a scenario where the user wants to verify his number but he didn't receive code over SMS. Shouldn't there be a resend code option for the user.

Would be more than happy to contribute :)

Goutam192002 avatar Sep 05 '20 01:09 Goutam192002

I have the same need but I've just been triggering the same auth endpoint to resend another. Do you see any benefit to a separate endpoint?

aaronn avatar Nov 17 '20 02:11 aaronn

I'm assuming this results in new verification codes being generated every time, which is not ideal. It should just resend the same verification code until it expires.

Goutam192002 avatar Nov 17 '20 09:11 Goutam192002