Skip to content

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

Merged
susnux merged 1 commit into
stable33from
backport/67207/stable33
Dec 2, 2026
Merged

susnux merged 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
@susnux
susnux disabled auto-merge December 2, 2026 09:56
@susnux
susnux merged commit a17015e into stable33 Dec 2, 2026
164 checks passed
@susnux
susnux deleted the backport/67207/stable33 branch December 2, 2026 09:56
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.

3 participants