A Node.js / TypeScript / Postgres starter with ready-to-use users management (register, login, forgot password etc) to focus on building your new ideas. Built upon the excellent AdonisJS MVC Framework.
config/starter.ts file: if blockUserUntilEmailVerification is true,
1) user should not be able to login
2) A flash message is displayed :
const message = "You must confirm your email, check your inbox. Click here to resend an email verification for your account".
session.flash({notification: message})
3) on click, a page with a form offers him to re-enter its email and resend verification link.
config/starter.ts file: if
blockUserUntilEmailVerification
istrue
,1) user should not be able to login
2) A flash message is displayed :
3) on click, a page with a form offers him to re-enter its email and resend verification link.