mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 09:42:09 -04:00
Fix cookie name (nc_token instead of oc_token)
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
parent
8296f1a35b
commit
c6071e027c
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue