summaryrefslogtreecommitdiffstats
path: root/lib/template.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-11-04 05:54:02 -0800
committerLukas Reschke <lukas@statuscode.ch>2012-11-04 05:54:02 -0800
commit8c4c74b23f268b232e3f591ea564c018597ee82d (patch)
treeba5ade7cfd4614ab15960e19ce221ea6b60df484 /lib/template.php
parent80b98547107ec3b5895a47c2f1ebfbd4f171f238 (diff)
parent393d2517ee6734c9540211edb714b3ec1324018f (diff)
downloadnextcloud-server-8c4c74b23f268b232e3f591ea564c018597ee82d.tar.gz
nextcloud-server-8c4c74b23f268b232e3f591ea564c018597ee82d.zip
Merge pull request #178 from owncloud/JustOneCSRFTokenPerSession
Just one CSRF token per session
Diffstat (limited to 'lib/template.php')
-rw-r--r--lib/template.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/template.php b/lib/template.php
index ed2481afba2..e8dbe622419 100644
--- a/lib/template.php
+++ b/lib/template.php
@@ -172,7 +172,6 @@ class OC_Template{
$this->application = $app;
$this->vars = array();
$this->vars['requesttoken'] = OC_Util::callRegister();
- $this->vars['requestlifespan'] = OC_Util::$callLifespan;
$parts = explode('/', $app); // fix translation when app is something like core/lostpassword
$this->l10n = OC_L10N::get($parts[0]);
@@ -391,7 +390,6 @@ class OC_Template{
$page = new OC_TemplateLayout($this->renderas);
if($this->renderas == 'user') {
$page->assign('requesttoken', $this->vars['requesttoken']);
- $page->assign('requestlifespan', $this->vars['requestlifespan']);
}
// Add custom headers