Split sessionUtils.js authenticateSessions() #172

Closed
opened 2025-09-16 08:22:12 -04:00 by rainbownapkin · 3 comments
rainbownapkin commented 2025-09-16 08:22:12 -04:00 (Migrated from gitlab.com)

Split authenticateSessions into three seperate methods:

One local function for basic authentication logic which intakes a req and a username.

There should be two exported wrapper methods:

  • One which takes in a username, password, and request as the current method.
  • Another which takes in a remember-me index ID, token string, and request
Split authenticateSessions into three seperate methods: One local function for basic authentication logic which intakes a req and a username. There should be two exported wrapper methods: - One which takes in a username, password, and request as the current method. - Another which takes in a remember-me index ID, token string, and request
rainbownapkin commented 2025-09-16 08:22:13 -04:00 (Migrated from gitlab.com)

added #167 as parent issue

added #167 as parent issue
rainbownapkin commented 2025-09-16 08:24:59 -04:00 (Migrated from gitlab.com)

changed the description

changed the description
rainbownapkin added a new dependency 2025-09-25 05:40:11 -04:00

Prepped session utils for remember me tokens: 95ed2fa403

Handled it by bool instead of split function.

Prepped session utils for remember me tokens: 95ed2fa403 Handled it by bool instead of split function.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Blocks
#167 Remember-Me Cookies
rainbownapkin/canopy
Reference: rainbownapkin/canopy#172
No description provided.