WolferTamer / passwords-backend

0 stars 1 forks source link

Finish 2FA #7

Open WolferTamer opened 3 weeks ago

WolferTamer commented 3 weeks ago

Change the /api/login and /api/signup endpoints such that once the 2FA code is sent, that code is saved. After 5 minutes, the code should expire and no longer be valid. Only accept a login or signup if the 2FA code is correct. Requires #6 to be completed