Skip to content

Fix token authentication for deleted users - #286

Merged
BBooijLiewes merged 2 commits into
CodeYellowBV:masterfrom
ThetaVision:crtx-969-fix-token-authentication-for-deleted-users
Oct 22, 2026
Merged

BBooijLiewes merged 2 commits into
CodeYellowBV:masterfrom
ThetaVision:crtx-969-fix-token-authentication-for-deleted-users

Conversation

@stefanmajoor

@stefanmajoor stefanmajoor commented Oct 22, 2026 •

Copy link
Copy Markdown

This fixes a security issue where tokens belonging to deleted users are still valid.

Currently when you have a token generated for the user, and you delete that user, the token is still valid. It can still be used to access the system. This PR only allows tokens to be used for users that are active.

@stefanmajoor
stefanmajoor force-pushed the crtx-969-fix-token-authentication-for-deleted-users branch from a8f925a to 0258654 Compare October 22, 2026 09:02
@stefanmajoor
stefanmajoor force-pushed the crtx-969-fix-token-authentication-for-deleted-users branch from 0258654 to d83c52a Compare October 22, 2026 09:07
@BBooijLiewes
BBooijLiewes self-requested a review October 22, 2026 09:16

@BBooijLiewes BBooijLiewes left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good find, thanks @stefanmajoor!

@BBooijLiewes

Copy link
Copy Markdown
Contributor

ah lets check that pipelines run first, will trigger that one as double check

@BBooijLiewes

Copy link
Copy Markdown
Contributor

Ran locally one non related failure, merging this and then fixing pipelines and failure in seperate PR

@BBooijLiewes
BBooijLiewes merged commit 83fda78 into CodeYellowBV:master Oct 22, 2026
1 check passed
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