Skip to content

Bypassed hash check in doCreateToken#286

Merged
TestaDiRapa merged 1 commit intomainfrom
patch/fix-hash-in-token-creation
Mar 30, 2026
Merged

Bypassed hash check in doCreateToken#286
TestaDiRapa merged 1 commit intomainfrom
patch/fix-hash-in-token-creation

Conversation

@TestaDiRapa
Copy link
Copy Markdown
Collaborator

@TestaDiRapa TestaDiRapa commented Mar 30, 2026

Scope of the PR

If a user decides to specify the value of the token to create and uses, for example, a UUID without dashes, then it will be interpreted as a hash and not hashed in the db.

The legacy behaviour is kept on modifyUser.

@TestaDiRapa TestaDiRapa self-assigned this Mar 30, 2026
@TestaDiRapa TestaDiRapa merged commit 82ccc47 into main Mar 30, 2026
@aduchate aduchate deleted the patch/fix-hash-in-token-creation branch March 31, 2026 15:57
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