Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User Story 12, Users who are logged in already are redirected #71

Open
7 tasks done
BrianZanti opened this issue May 20, 2019 · 0 comments
Open
7 tasks done

User Story 12, Users who are logged in already are redirected #71

BrianZanti opened this issue May 20, 2019 · 0 comments
Assignees

Comments

@BrianZanti
Copy link
Collaborator

BrianZanti commented May 20, 2019

As a registered user, merchant, or admin
When I visit the login path
If I am a regular user, I am redirected to my profile page
If I am a merchant user, I am redirected to my merchant dashboard page
If I am an admin user, I am redirected to the home page of the site
And I see a flash message that tells me I am already logged in

Checklist:

  • base tests are written
  • base code is written to pass tests
  • edge case ("sad path") tests written (if required)
  • edge case code written (if required)
  • code is reviewed
  • branch is merged
  • all tests still pass

child of turingschool-projects#262

child of turingschool-projects#274

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants