diff options
author | Joas Schilling <coding@schilljs.com> | 2017-02-09 10:07:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-09 10:07:59 +0100 |
commit | ac841ee002b7984288a67f845d23777bcf0caa4d (patch) | |
tree | b771628dfbbd62d2080e304bc6e8f2f08b392e9a /core/Controller | |
parent | 3c4b539fdf05a47c87a8088550776cdd7bd0707d (diff) | |
parent | 5e728d0eda85710b667b6399dbae8c2cbab8e72d (diff) | |
download | nextcloud-server-ac841ee002b7984288a67f845d23777bcf0caa4d.tar.gz nextcloud-server-ac841ee002b7984288a67f845d23777bcf0caa4d.zip |
Merge pull request #3362 from nextcloud/fix/nc-token-cookie-name
oc_token should be nc_token
Diffstat (limited to 'core/Controller')
-rw-r--r-- | core/Controller/LoginController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Controller/LoginController.php b/core/Controller/LoginController.php index 28cc39b9137..954a18e8778 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); } |