Skip to content

Plugin loading on login page #9

@aacunha

Description

@aacunha

Dmitry,

I have tried to make an adjustment in the plugin for my reality, but I did not succeed. I use 2 authentication plugins, rcguard (https://plugins.roundcube.net/packages/dsoares/rcguard) and twofactor auth (https://plugins.roundcube.net/packages/alexandregz/twofactor_gauthenticator).

What I would like is that the plugin only start after opening the webmail ("mail" page). I explain why:

Captcha: If the user misses the password a few times the captcha is displayed. After this if it hits the password and does not validate the captcha the jsxc is loaded.

image

Two Factor: After the user authenticates, if the browser does not have the option to save active, the two factor field (login page) will be displayed, and jsxc will start.

image 1

I tried not to load jsxc through the jsxc.php file:

         case 'login':
             // $ this-> load_jsxc ();
             break;

But this way jsxc does not authenticate. I know it's not a malfunction of the plugin, but I believe it to be an improvement for the same.

Another case which happens exporadically, on the first login (no another connection on webmail or xmpp server), the jsxc loads on login page without connection:
captura de tela de 2017-12-13 09 51 49

Regards,
André

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions