Skip to content

[stable34] fix(auth): Do not create remember-me cookies with auto_logout - #67385

Open
backportbot[bot] wants to merge 1 commit into
stable34from
backport/67207/stable34
Open

backportbot[bot] wants to merge 1 commit into
stable34from
backport/67207/stable34

Conversation

@backportbot

@backportbot backportbot Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Backport of #67207

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Review and verify the backported changes
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

@backportbot backportbot Bot added bug 3. to review Waiting for reviews AI assisted ⚠️ risk: low Unlikely to cause meaningful regressions; limited runtime or compatibility impact. labels Dec 1, 2026
@backportbot backportbot Bot added this to the Nextcloud 34.0.7 milestone Dec 1, 2026
@CarlSchwan
CarlSchwan force-pushed the backport/67207/stable34 branch from 3b17ced to ddd52bc Compare December 1, 2026 17:14
@CarlSchwan
CarlSchwan marked this pull request as ready for review December 1, 2026 17:14
@CarlSchwan
CarlSchwan requested review from a team as code owners December 1, 2026 17:14
@artonge
artonge enabled auto-merge December 1, 2026 17:18
Only the password login checked auto_logout before setting the
remember-me cookies. Logins finished through a second factor or an
Apache/SSO backend still got them. Check the setting in
createRememberMeToken() instead, so it applies to every login.

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
@CarlSchwan
CarlSchwan force-pushed the backport/67207/stable34 branch from ddd52bc to ba4ce34 Compare December 1, 2026 17:18

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

3. to review Waiting for reviews AI assisted bug ⚠️ risk: low Unlikely to cause meaningful regressions; limited runtime or compatibility impact.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants