-
Notifications
You must be signed in to change notification settings - Fork 2.1k
25532_issue_password_update_notification_updated #25756
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Added an IF ELSE statement to ensure that feedback is provided to the user on successfully updating a user password in settings.
|
@JackWillDavis, thanks for your PR! By analyzing the annotation information on this pull request, we identified @ringmaster, @MorrisJobke and @PVince81 to be potential reviewers |
settings/js/users/users.js
Outdated
| function (result) { | ||
| if (result.status != 'success') { | ||
| if(result.status == 'success') { | ||
| OC.Notification.showTemporary(t('admin', result.status)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This displays "success", the same string as returned by the server.
It would be better if the message would be clearer and said "Password successfully changed"
|
I wasn't sure on how advisable it was to return a hard coded message when the returned status would give an indication the event had completed successfully. Agree with your point though, shall I update? |
|
Yes, please update |
Updated the password update success message
|
Updated now |
|
👍 |
1 similar comment
|
👍 |
* Password Update Notification Added an IF ELSE statement to ensure that feedback is provided to the user on successfully updating a user password in settings. * Password Update Success Message Updated the password update success message
* Password Update Notification Added an IF ELSE statement to ensure that feedback is provided to the user on successfully updating a user password in settings. * Password Update Success Message Updated the password update success message
* Password Update Notification Added an IF ELSE statement to ensure that feedback is provided to the user on successfully updating a user password in settings. * Password Update Success Message Updated the password update success message
…11cd9864df9372098b55e [stable9.1] 25532_issue_password_update_notification_updated (#25756)
…25867) * Password Update Notification Added an IF ELSE statement to ensure that feedback is provided to the user on successfully updating a user password in settings. * Password Update Success Message Updated the password update success message
…#25868) * Password Update Notification Added an IF ELSE statement to ensure that feedback is provided to the user on successfully updating a user password in settings. * Password Update Success Message Updated the password update success message
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
This is a fix for: #25532
Added an IF ELSE statement to ensure that feedback is provided to the
user on successfully updating a user password in settings.
New pull request being put through as old wouldn't rebase.
FYI @DeepDiver1975