Skip to content

fix: cookies not cleared on logout; only local storage is cleared #923

@Sumabhat11

Description

@Sumabhat11

Describe the bug
On logout, the application clears data from local storage but does not clear cookies. This can leave behind session related or authentication cookies, which may cause unexpected behavior or security concerns.

To Reproduce
Steps to reproduce the behavior:
1.Log in to the application
2. Verify cookies are set in the browser
3. Click Logout
4. Check browser storage - cookies
5. Observe that cookies are still present while localStorage is cleared

Expected behavior
All authentication and session related data, including cookies and localStorage, should be cleared on logout.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions