aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2013-03-05 17:21:04 -0500
committercash <cash.costello@gmail.com>2013-03-05 17:21:04 -0500
commit8a76e62accd81a68724b424a77421dac7a9d9a12 (patch)
tree17dd7c884bf3f12ef04bd32efae4aa5b71a0560c
parent597c0a4e519e14ba42c77b518a44789e3a8067b0 (diff)
downloadelgg-8a76e62accd81a68724b424a77421dac7a9d9a12.tar.gz
elgg-8a76e62accd81a68724b424a77421dac7a9d9a12.tar.bz2
fixed token refresh interval - introduced during development for this release
-rw-r--r--js/lib/security.js2
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