summaryrefslogtreecommitdiffstats
path: root/core/Controller
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@owncloud.com>2016-04-26 11:32:35 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2016-05-11 13:36:46 +0200
commit3ab922601a2e6b9b170007461b9e0718c70bddcd (patch)
tree77f04125c2d7c422f74f4583cf116da7a9ff56c9 /core/Controller
parent2fa5e0a24e34b109fcd4adb98932e9537884bc9a (diff)
downloadnextcloud-server-3ab922601a2e6b9b170007461b9e0718c70bddcd.tar.gz
nextcloud-server-3ab922601a2e6b9b170007461b9e0718c70bddcd.zip
Check if session token is valid and log user out if the check fails
* Update last_activity timestamp of the session token * Check user backend credentials once in 5 minutes
Diffstat (limited to 'core/Controller')
-rw-r--r--core/Controller/LoginController.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/Controller/LoginController.php b/core/Controller/LoginController.php
index fe1ad41aedb..e13d8ae10d2 100644
--- a/core/Controller/LoginController.php
+++ b/core/Controller/LoginController.php
@@ -26,7 +26,6 @@ namespace OC\Core\Controller;
use OC;
use OC\User\Session;
use OC_App;
-use OC_User;
use OC_Util;
use OCP\AppFramework\Controller;
use OCP\AppFramework\Http\RedirectResponse;