OpenCLTBrigade / cmpd-holiday-gift

CMPD Explorers Christmas Project
MIT License
11 stars 24 forks source link

Add unapproved redirect #216

Closed chimon2000 closed 5 years ago

chimon2000 commented 5 years ago

Resolves #204

@AndrewNatoli verify that this resolves #203

chimon2000 commented 5 years ago

For the second item, the user does have to logout to get a new token. I added a prompt to login again if they hit the NotApproved screen. @AndrewNatoli

chimon2000 commented 5 years ago

@AndrewNatoli how to test

  1. Attempt to login w/ unused phone # / email address
  2. Verify that you are redirected to the Registration Page
  3. Complete Registration
  4. Verify that Registered page displays
  5. Refresh Screen
  6. Verify Registered / Not Approved page displays
  7. Approve user with an admin
  8. Click "Back to login" button
  9. Login again
  10. Verify Dashboard button displays