Skip to content

fix: Add missing PasswordConfirmationRequired attributes#59764

Merged
provokateurin merged 5 commits intomasterfrom
fix/add-missing-password-required
Apr 21, 2026
Merged

fix: Add missing PasswordConfirmationRequired attributes#59764
provokateurin merged 5 commits intomasterfrom
fix/add-missing-password-required

Conversation

@come-nc
Copy link
Copy Markdown
Contributor

@come-nc come-nc commented Apr 21, 2026

Summary

App enabling should require a strict password confirmation.

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

come-nc and others added 2 commits April 21, 2026 10:21
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
…ctions

Register axios password confirmation interceptors in the apps
management, admin delegation, admin security, and OAuth2 settings
bundles, and pass PwdConfirmationMode.Strict on requests to endpoints
protected with #[PasswordConfirmationRequired(strict: true)], so that
the user password is verified via Basic auth on the request itself
rather than relying on the session timestamp.

Signed-off-by: Peter Ringelmann <peter.ringelmann@nextcloud.com>
@come-nc come-nc added this to the Nextcloud 34 milestone Apr 21, 2026
@come-nc come-nc self-assigned this Apr 21, 2026
@come-nc come-nc requested review from a team as code owners April 21, 2026 08:21
@come-nc come-nc added the 3. to review Waiting for reviews label Apr 21, 2026
@come-nc come-nc requested review from CarlSchwan, leftybournes, nfebe, sorbaugh and szaimen and removed request for a team April 21, 2026 08:21
@come-nc
Copy link
Copy Markdown
Contributor Author

come-nc commented Apr 21, 2026

/compile /

@come-nc
Copy link
Copy Markdown
Contributor Author

come-nc commented Apr 21, 2026

/backport to stable33

@come-nc
Copy link
Copy Markdown
Contributor Author

come-nc commented Apr 21, 2026

/backport to stable32

@come-nc
Copy link
Copy Markdown
Contributor Author

come-nc commented Apr 21, 2026

/backport to stable31

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

@szaimen szaimen left a comment

Choose a reason for hiding this comment

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

🐘

@come-nc come-nc requested a review from pringelmann April 21, 2026 09:04
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
@come-nc come-nc requested a review from provokateurin as a code owner April 21, 2026 09:32
@provokateurin provokateurin enabled auto-merge April 21, 2026 09:55
@come-nc
Copy link
Copy Markdown
Contributor Author

come-nc commented Apr 21, 2026

Cypress failure is related
Settings App management -- Limit app usage to group (failed)

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
@provokateurin provokateurin merged commit bce67a2 into master Apr 21, 2026
188 of 192 checks passed
@provokateurin provokateurin deleted the fix/add-missing-password-required branch April 21, 2026 13:41
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants