Skip to content

Conversation

@Sachin-8125
Copy link

Updated randomString function to generate bytes based on length directly. Modified verifyToken function to accept saltLength parameter and adjusted logic accordingly. Enhanced generateSecret function to ensure correct length after encoding. Added getHeaderValue function for extracting CSRF token from headers. Updated defaultValue function to accommodate request object.

Updated randomString function to generate bytes based on length directly. Modified verifyToken function to accept saltLength parameter and adjusted logic accordingly. Enhanced generateSecret function to ensure correct length after encoding. Added getHeaderValue function for extracting CSRF token from headers. Updated defaultValue function to accommodate request object.
@lauhon
Copy link
Owner

lauhon commented Oct 22, 2025

Hey there @Sachin-8125.

#2 Is already closed, so someone else will get the bounty.

I don't think the change in this PR is needed anymore

@Sachin-8125 Sachin-8125 closed this by deleting the head repository Oct 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants