Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Implement dynamic login/logout button based on user's logged in …
…state [DEV-3092] (#316) * Add a new endpoint for getting current user info. * Implement dynamic login/logout button handle based on user's logged state. * Update package-lock.json. * Rename comment message. * Use isAuthenticated field instead of username for checking current user authenticate status. * Change a magic number to const variable. * Refactor code. * Rename from `/user` to `/auth/user-info` endpoint. * bump deps * Update example.env * Update example.env * Remove an unused import. * Remove dynamically login/logout button. * Update package-lock.json --------- Co-authored-by: Ankur Banerjee <ankurdotb@users.noreply.github.com> Co-authored-by: Andrew Nikitin <andrew.nikitin@cheqd.io>
- Loading branch information