Skip to content
This repository was archived by the owner on Nov 4, 2024. It is now read-only.
This repository was archived by the owner on Nov 4, 2024. It is now read-only.

Overriding Notification Message Text in Plugin #2243

Description

@justinshewell

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:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions