Skip to content

Add Logout Function #5

Description

@j0nezz

Especially for debugging, a logout function would be handy.
As the cookie is HTTP only, it can only be deleted by overwriting the cookie with max-age: 0

See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie

Max-Age= Optional
Number of seconds until the cookie expires. A zero or negative number will expire the cookie immediately. If both Expires and Max-Age are set, Max-Age has precedence.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions