diff options
author | cash <cash.costello@gmail.com> | 2013-03-05 17:21:04 -0500 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2013-03-05 17:21:04 -0500 |
commit | 8a76e62accd81a68724b424a77421dac7a9d9a12 (patch) | |
tree | 17dd7c884bf3f12ef04bd32efae4aa5b71a0560c | |
parent | 597c0a4e519e14ba42c77b518a44789e3a8067b0 (diff) | |
download | elgg-8a76e62accd81a68724b424a77421dac7a9d9a12.tar.gz elgg-8a76e62accd81a68724b424a77421dac7a9d9a12.tar.bz2 |
fixed token refresh interval - introduced during development for this release
-rw-r--r-- | js/lib/security.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/lib/security.js b/js/lib/security.js index af02824a6..9c12f8586 100644 --- a/js/lib/security.js +++ b/js/lib/security.js @@ -101,7 +101,7 @@ elgg.security.addToken = function(data) { elgg.security.init = function() { // elgg.security.interval is set in the js/elgg PHP view. - elgg.security.tokenRefreshTimer = setInterval(elgg.security.refreshToken, 60 * 1000); + elgg.security.tokenRefreshTimer = setInterval(elgg.security.refreshToken, elgg.security.interval); }; elgg.register_hook_handler('boot', 'system', elgg.security.init);
\ No newline at end of file |