-
Notifications
You must be signed in to change notification settings - Fork 869
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
Overriding Notification Message Text in Plugin #2243
Comments
You need to modify https://github.com/RainLoop/rainloop-webmail/blob/master/dev/Settings/User/ChangePassword.js Or throw your own ClientViewError exception with ErrorMessage |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This more of a "how-to" question than an issue, but I couldn't find any other forum where I could ask this question.
I am writing a plugin for Rainloop to change the password via Postfixadmin. I have got everything working except the Notifications. When the password doesn't fit Postfixadmin's requirements, I want to display something like "Password must have at least 2 numbers" but the only option is "Password is too weak". I am trying to find a way to display additional information but nothing works.
RainLoop version, browser, OS:
v 1.17.0
Expected behavior and actual behavior:
I put a string (e.g. "Password needs at least 2 numbers" in the $sAdditionalMessage parameter of the "ClientException" but it doesn't show in the browser.
Steps to reproduce the problem:
Logs or screenshots:
The text was updated successfully, but these errors were encountered: