summaryrefslogtreecommitdiffstats
path: root/lib/private/AppFramework/Http/Request.php
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 /lib/private/AppFramework/Http/Request.php
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 'lib/private/AppFramework/Http/Request.php')
-rw-r--r--lib/private/AppFramework/Http/Request.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/AppFramework/Http/Request.php b/lib/private/AppFramework/Http/Request.php
index 62d7fc7ed30..404c31879d2 100644
--- a/lib/private/AppFramework/Http/Request.php
+++ b/lib/private/AppFramework/Http/Request.php
@@ -490,7 +490,7 @@ class Request implements \ArrayAccess, \Countable, IRequest {
* @return bool
*/
private function cookieCheckRequired() {
- if($this->getCookie(session_name()) === null && $this->getCookie('oc_token') === null) {
+ if($this->getCookie(session_name()) === null && $this->getCookie('nc_token') === null) {
return false;
}