Skip to content

[Bug]: False success notification (toast) when changing a user's password #51631

@AndyScherzinger

Description

@AndyScherzinger

⚠️ This issue respects the following points: ⚠️

Bug description

When attempting to change a user's password in scnearios where it shouldnÄ't and isn't changed a success message gets display and if the password policy is not fulfilled the message is English despite the UI being set to German (for example)

Steps to reproduce

  1. Open user mgmt
  2. Pick a user and change the password to i.e. 1
  3. Hit the save-arrow
  4. On the admin-password confirmation screen close the dialog with the "X"

You'll get an error notification + a success notification


  1. Open user mgmt
  2. Pick a user and change the password to i.e. 1
  3. Hit the save-arrow
  4. On the admin-password confirmation screen provide the correct admin-password and hit "Confirm"

You'll get a success notification and an error notification in English/German mixed:

Image

Expected behavior

No notification displayed


Just the error message is displayed - fully translated (to German in this scenario or any other currently in use given a translation is available)

Nextcloud Server version

29

Operating system

None

PHP engine version

None

Web server

None

Database engine version

None

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

List of activated Apps

Nextcloud Signing status

Nextcloud Logs

Additional info

No response

Sub-issues

Metadata

Metadata

Assignees

Type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions