#272

Product support

Get help in the plugin support forum.

Categories

  • Miscellaneous
  • Security
  • Utility

Automatically logout authenticated front end user after configured timeout. Based on Renatio.Logout plugin, but for front end.

This plugin requires RainLab.User

You can specify the user logged in time without performing any action. Them, a notification alert prompt to continue or close session. If user doesn't do any action, the session was closed.

In backend settings, you can specify session lifetime, use notify alert and lifetime of current alert.

Backend Settings

Installation

From Setting / System / Updates panel, click on Install plugins button and write PlanetaDelEste.SignOut.


Settings

From backend, you can config many option.

Session lifetime
Specify in minutes, how long is the session.

Display alert of session timeout
Through this switch, can alert users of session next to close.

Alert lifetime Can set, in seconds, alert auto close timer.

Alert text
Write the alert text that users was see after session timeout. There are two special keys that you can use.
{timeout} - Replaced with a countdown with the remaining seconds after alert and session close. |Separate the text block to title and description alert. The alert js script used is SweetAlert. If use more that one character |, only was used the first two blocks.

Text button to close
Set the text for the "close", "cancel" button

Text button to continue
Set the text for the "continue" button

Component

Component settings Component have only one option, is to load SweetAlert javascript library.

Notes!

The component add the javascript files using {% put scripts %}. Is important to attach the component in the page or layout with the markup {% component 'SessionClose' %}. This can be outside html tags.

{% component 'SessionClose' %}
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>October CMS - {{ this.page.title }}</title>
  • Found the plugin not useful on 7 Sep, 2017

    Plugin not working without 'Load javascript Library' selected. Getting this error : ReferenceError: swal is not defined (signout.js).

  • author

    Replied on 7 Sep, 2017

    Do you know, you can write issues in Support Page.? Don't write negative reviews of an issue report.

    About this issue, the idea of checkbox, is to let users the option to use your own Swal.js library version (loaded from another component or theme), and prevent to load multiple times the same JS.

1.0.1

First version of SignOut

May 25, 2017