Skip to content

fix(settings): prevent user list crash when password changes are disabled - #64701

Open
Tyagiquamar wants to merge 1 commit into
nextcloud:masterfrom
Tyagiquamar:fix/users-management-show-warning-dialog
Open

Tyagiquamar wants to merge 1 commit into
nextcloud:masterfrom
Tyagiquamar:fix/users-management-show-warning-dialog

Conversation

@Tyagiquamar

Copy link
Copy Markdown

Summary

When password change is disabled because the master key is disabled, the UserList settings component attempted to call the legacy \window.OC.Notification.showTemporary\ API, which is undefined in modern Nextcloud web frontends and crashed the users management page before user rows could render.

This replaces the legacy call with \showWarning\ from @nextcloud/dialogs, matching Nextcloud's modern dialog and notification conventions.

Resolves #64685.

@Tyagiquamar
Tyagiquamar requested a review from a team as a code owner September 23, 2026 17:51
@Tyagiquamar
Tyagiquamar requested review from kristian-zendato, skjnldsv and sorbaugh and removed request for a team September 23, 2026 17:51
@joshtrichards joshtrichards added 3. to review Waiting for reviews feature: users and groups community pull requests from community bug labels Sep 24, 2026
@joshtrichards joshtrichards changed the title fix(settings): use showWarning from @nextcloud/dialogs for disabled password change fix(settings): prevent user list crash when password changes are disabled Sep 25, 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Users management page crashes because window.OC.Notification is undefined

2 participants