Roundcube Community Forum

 

Make plugin return some error

Started by Dodfr, September 08, 2010, 10:44:47 AM

Previous topic - Next topic

Dodfr

Hi,

I am creating a plugin that will do some checks on user's login name before real login task is called.

How do I return "false" and set my own error message so RoundCube will not proceed with login and show error message the way RoundCube use to with tis nice gradient "popup" on top of screen ?

regards.


SKaero

You can use:

$rcmail->output->command('display_message', 'ERROR text', 'error');