Skip to content

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

Open
backportbot[bot] wants to merge 1 commit into
stable33from
backport/67207/stable33
Open

backportbot[bot] wants to merge 1 commit into
stable33from
backport/67207/stable33

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 33.0.12 milestone Dec 1, 2026
@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
@CarlSchwan
CarlSchwan force-pushed the backport/67207/stable33 branch from 9defd73 to b897715 Compare December 1, 2026 17:14
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/stable33 branch from b897715 to 9c16659 Compare December 1, 2026 17:18
@artonge
artonge enabled auto-merge 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