Skip to content

[stable32] fix: Trigger same logic as login failure when Bearer token is not valid - #67320

Open
backportbot[bot] wants to merge 4 commits into
stable32from
backport/67318/stable32
Open

backportbot[bot] wants to merge 4 commits into
stable32from
backport/67318/stable32

Conversation

@backportbot

@backportbot backportbot Bot commented Dec 1, 2026

Copy link
Copy Markdown

Backport of PR #67318

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
@backportbot
backportbot Bot requested a review from a team as a code owner December 1, 2026 11:59
@backportbot
backportbot Bot requested review from leftybournes and salmart-dev and removed request for a team December 1, 2026 11:59
@backportbot backportbot Bot added the 3. to review Waiting for reviews label Dec 1, 2026
@github-actions github-actions Bot changed the title [stable32] [stable34] [stable35] fix: Trigger same logic as login failure when Bearer token is not valid [stable32] fix: Trigger same logic as login failure when Bearer token is not valid Dec 1, 2026
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
@come-nc
come-nc requested a review from a team as a code owner December 1, 2026 15:32
@come-nc
come-nc requested review from kristian-zendato and pringelmann and removed request for a team December 1, 2026 15:32

@cristianscheid cristianscheid left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

On this backport (and others below stable32), the diff for the .ts/.js files differs from the original, while Session.php looks identical. Is this expected?

Not all sessions cookie ids are in DB by design, so it cannot count as
 bruteforce to not find them.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Some applications manage their own bearer token so we cannot consider
 missing token as bruteforce.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
@come-nc come-nc added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Dec 4, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants