From 5e728d0eda85710b667b6399dbae8c2cbab8e72d Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Thu, 2 Feb 2017 21:56:44 +0100 Subject: oc_token should be nc_token Signed-off-by: Christoph Wurst --- core/Controller/LoginController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/Controller/LoginController.php b/core/Controller/LoginController.php index 52bd2213954..e9911d01912 100644 --- a/core/Controller/LoginController.php +++ b/core/Controller/LoginController.php @@ -98,7 +98,7 @@ class LoginController extends Controller { * @return RedirectResponse */ public function logout() { - $loginToken = $this->request->getCookie('oc_token'); + $loginToken = $this->request->getCookie('nc_token'); if (!is_null($loginToken)) { $this->config->deleteUserValue($this->userSession->getUser()->getUID(), 'login_token', $loginToken); } -- cgit v1.2.3