Closed dongyuzheng closed 5 years ago
Similar to https://github.com/rezqio/issues/issues/81
Create new field on User model called temp_new_email or something
temp_new_email
Don't actually change the user's email until verification of new email.
Make the token (payload new_email_user_id, expiry 30 minutes) or something
(payload new_email_user_id, expiry 30 minutes)
Similar to https://github.com/rezqio/issues/issues/81
Create new field on User model called
temp_new_email
or somethingDon't actually change the user's email until verification of new email.
Make the token
(payload new_email_user_id, expiry 30 minutes)
or something