mfreiholz / persistent_login

Provides a "Keep me logged in" aka "Remember Me" functionality for Roundcube.
78 stars 49 forks source link

Forgot my password link? #30

Closed ygreenfield closed 7 years ago

ygreenfield commented 8 years ago

Hello,

Would it be worthwhile to add an optional link to this plugin called "Forgot my password" that, when clicked, brings the user to a custom-named (or plugin-named) page where we have our own forgotten-password routine?

Or would we edit one of the plugin files to create our own link? (I've been trying to do so, but getting our link horizontally aligned with this plugin's "Keep me logged in" link in all browsers is proving difficult.)

johnwayne4d commented 7 years ago

referencing: rc 1.1.6 you can insert the line <a href="../current/forgotpwd.html" target="_blank" class="button" role="button">&nbsp; Forgot Password? &nbsp;</a> at about the line <a href="<roundcube:var name='config:support_url' />" target="_blank" class="support-link"><roundcube:label name="support" /></a> in the skins/YOURSKINHERE/templates/login.html file

that will get it under the login menu, not within. but you can build from there.

mfreiholz commented 7 years ago

I think it is better to put this in a separate plugin. You could edit the persistent_login.css to change the alignment of the text.