Store whether or not a user has been verified
gabriel-flynn opened this issue · 1 comments
gabriel-flynn commented
React:
- The action is already defined for redux
- Just need to change the loginSuccess() to loginSuccess(passVerificationStatusHere) in utils/auth/isAuthenticated.js
Node.js:
- Add a user model to store whether or not they have been verified
- Update auth/verify endpoint to update the user's verification status
- Update the auth/status endpoint to return verification status
gabriel-flynn commented
Added in f396965