summaryrefslogtreecommitdiffstats
path: root/core/routes.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-10-31 18:37:59 +0100
committerLukas Reschke <lukas@statuscode.ch>2012-10-31 18:37:59 +0100
commit7a7f12a0c126522cb067de692af0950d46bf15fc (patch)
tree1364f5ec500ead1ac29adde4cc72e5174a7a29ed /core/routes.php
parentac784baef689ca5c0f22c8acdce8e13f6d918101 (diff)
downloadnextcloud-server-7a7f12a0c126522cb067de692af0950d46bf15fc.tar.gz
nextcloud-server-7a7f12a0c126522cb067de692af0950d46bf15fc.zip
Create only one CSRF token per session
Before, the CSRF token expired every hour. We had a script in place which should refresh the token but this don't worked in every case. (Laptop sleeping etc.) With this commit, the token will only get once created for every session so that the "Token expired" warning shouldn't appear.
Diffstat (limited to 'core/routes.php')
-rw-r--r--core/routes.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/core/routes.php b/core/routes.php
index cc0aa53a21e..6f999356689 100644
--- a/core/routes.php
+++ b/core/routes.php
@@ -13,9 +13,6 @@ $this->create('search_ajax_search', '/search/ajax/search.php')
// AppConfig
$this->create('core_ajax_appconfig', '/core/ajax/appconfig.php')
->actionInclude('core/ajax/appconfig.php');
-// RequestToken
-$this->create('core_ajax_requesttoken', '/core/ajax/requesttoken.php')
- ->actionInclude('core/ajax/requesttoken.php');
// Share
$this->create('core_ajax_share', '/core/ajax/share.php')
->actionInclude('core/ajax/share.php');