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: Login status #26

Closed
3 tasks done
chris-townsend opened this issue Nov 10, 2022 · 0 comments
Closed
3 tasks done

USER STORY: Login status #26

chris-townsend opened this issue Nov 10, 2022 · 0 comments
Assignees
Labels
1 User Story Estimate is 1 story point development Development Process must-have A must-have feature

Comments

@chris-townsend
Copy link
Owner

chris-townsend commented Nov 10, 2022

User Story:

As a logged-in User, I can see my login status so that I know if I am logged in or out of my account

Ideas:

  • A change in the navbar or a symbol showing the login status

Acceptance Criteria:

  • A user should know if they're logged in or not by looking at the navbar either displaying their login name or My-Account
  • An notification should alert the user when logging in or out to confirm login or out
  • The welcome section on the homepage will be displayed differently depending on login status, If your logged-in it will ask if you want to add a new recipe whereas if your not logged-in, it will ask you to sign up.

Related User Stories:

#24 - Login to my account

#25 - Logout of my account

Tasks:

  • Use Django's built-in authentication system to build a user base system
  • In the nav section of the homepage create an if statement which checks if a user is authenticated or not
    • {% if user.is_authenticated %} - add logged-in status tabs
  • Change the template so that it displays a users login status

@chris-townsend chris-townsend added must-have A must-have feature 1 User Story Estimate is 1 story point development Development Process labels Nov 10, 2022
@chris-townsend chris-townsend self-assigned this Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 User Story Estimate is 1 story point development Development Process must-have A must-have feature
Projects
Development

No branches or pull requests

1 participant