summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2017-02-02 21:56:44 +0100
committerChristoph Wurst <christoph@winzerhof-wurst.at>2017-02-02 21:56:44 +0100
commit5e728d0eda85710b667b6399dbae8c2cbab8e72d (patch)
treed24d3fb3e0ce57060731d04cbee5a412bd4814ba /core
parent949fbdef33c527ef481bcf1cb44c9d8c4a781000 (diff)
downloadnextcloud-server-5e728d0eda85710b667b6399dbae8c2cbab8e72d.tar.gz
nextcloud-server-5e728d0eda85710b667b6399dbae8c2cbab8e72d.zip
oc_token should be nc_token
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'core')
-rw-r--r--core/Controller/LoginController.php2
1 files changed, 1 insertions, 1 deletions
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);
}