[Python-modules-commits] [django-session-security] 04/09: Add docs to returnToURL option

Jean-Michel Vourgère nirgal at moszumanska.debian.org
Sun Jan 17 04:55:43 UTC 2016


This is an automated email from the git hooks/post-receive script.

nirgal pushed a commit to tag 2.3.1
in repository django-session-security.

commit 0e5135d2fa12cc021a8395e8ddf440136330348f
Author: Andrei Coman <andrei.coman at 3pillarglobal.com>
Date:   Mon Dec 14 10:40:32 2015 +0200

    Add docs to returnToURL option
---
 session_security/static/session_security/script.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/session_security/static/session_security/script.js b/session_security/static/session_security/script.js
index 6c65e57..bee4ec4 100644
--- a/session_security/static/session_security/script.js
+++ b/session_security/static/session_security/script.js
@@ -14,6 +14,7 @@ if (window.yourlabs == undefined) window.yourlabs = {};
 //   leave a page with unsaved form data. Setting this will enable an
 //   onbeforeunload handler that doesn't block expire().
 // - events: a list of event types to watch for activity updates.
+// - returnToUrl: a url to redirect users to expired sessions to. If this is not defined we just reload the page
 yourlabs.SessionSecurity = function(options) {
     // **HTML element** that should show to warn the user that his session will
     // expire.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/django-session-security.git



More information about the Python-modules-commits mailing list