0

1 year agoby Michael Ong

add Email Verification

How to add Email Verification for admin reg

89

Sarthak Shrivastava replied 1 year ago

1

Create a field on admin table called email_verified_at as dateTime.

Upon registration of admin, just send an email with a random key (stored somewhere like on db or on cache) on on query string. then if this field is empty you give a message that please verify email.

When admin click on that link, you just check random key and if key is valid, fill email_verified_at field.

Ask Question
Most Visited
Categories