Roundcube Persistent Login Plugin (Remember Me)

This server-side plugin is useful for all Roundcube users who don’t like to log into their mail account each time they open their browser. The plugin stores a persistent login cookie which automatically logs the user in the next time he or she visits the Roundcube web mailer.

Screenshots

Download

You can download the plugin from the Sourceforge project page.

Sources on GitHub: https://github.com/mfreiholz/Roundcube-Persistent-Login-Plugin

Installation

Step 1: Extract the “persistent_login” folder into roundcube’s plugin directory “<roundcube>/plugins/”.

Step 2: Open the Roundcube main configuration file “<roundcube>/config/main.inc.php” and add the plugin’s name to the active plugins array (See screenshot):

main.inc.php

Configuration

The plugin provides two different ways of usage. User-Data cookie or AuthToken cookie based.

UserData cookie

This method doesn’t require any configuration, it is enabled by default. It stores the user’s login information encrypted in a cookie.

AuthToken cookie (more secure, recommended)

This method have to be enabled in the plugins configuration file. It requires the creation of a table in your database as well. The table can be created by the SQL script in the “sql/” directory of the plugin.

<plugin>/config.inc.php - Activate AuthToken implementation

Upcoming…

  • Optional: After logout, show the user a message which provides the option to delete the persistent-login cookie.

Problems // Discussions

See our forum.

Changelog

Since: 0.1beta2

  • AuthToken cookie based implementation (MySQL)
  • Added some translations (from “remember_me” plugin)

Since: 0.1beta

  • First release, basic functionality (UserData cookie based implementation)

Comments are closed.