Skip to content
Snippets Groups Projects

1. add vuex

Open zhengbo requested to merge sprint_2 into notification
  1. server return session token with Usermodel after successfully login -> store login status in vuex
  2. add log out button -> clear token in localstorage and login status in vuex
  3. now we can define each route whether it needs auth (login status) to continue redirecting

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading