Skip to content

v1 session management cleanup #345

Open

Description

@david-crespo
  • Don't reseed RNG on every token generation
  • Put session token size in a constant somewhere (currently hardcoded at generation and DB column string length)
  • Make wrapper type for session token (similar to Name) instead of using String directly
  • Put a prefix on the session cookie that lets us tell what version it is?

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions