hanakoa / alpaca

Containerized Go µServices for authentication and authorization.
https://hanakoa.github.io/alpaca/
MIT License
5 stars 0 forks source link

Create DB and table for password resets #38

Closed kevinmichaelchen closed 6 years ago

kevinmichaelchen commented 6 years ago

The PasswordReset table should contain a UUID primary key (which doubles as the code), a used boolean, a usable boolean, and a expiration timestamp. The expiration should be set to no more than 30 mins after the email is sent.