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

Closed
7 tasks done
memcmahon opened this issue May 20, 2019 · 0 comments
Closed
7 tasks done

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

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

Comments

@memcmahon
Copy link
Collaborator

memcmahon 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

@WHomer WHomer assigned WHomer and unassigned WHomer May 23, 2019
@VinceCarollo VinceCarollo self-assigned this May 24, 2019
@VinceCarollo VinceCarollo removed their assignment May 24, 2019
@zachlp2016 zachlp2016 self-assigned this May 24, 2019
@WHomer WHomer closed this as completed May 25, 2019
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

4 participants