Browse Source

fixup! refactor(AppFramework): Improve and document cookie check requirements

provokateurin 1 month ago
parent
commit
a77ef6057c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/private/AppFramework/Http/Request.php

+ 1 - 1
lib/private/AppFramework/Http/Request.php

@@ -487,7 +487,7 @@ class Request implements \ArrayAccess, \Countable, IRequest {
 	/**
 	 * Whether the cookie checks are required
 	 *
-	 * In case the OCS-APIRequest header is set or the user has no session, we don't to check the cookies because the client is not a browser and thus doesn't need CSRF checks.
+	 * In case the OCS-APIRequest header is set or the user has no session, we don't need to check the cookies because the client is not a browser and thus doesn't need CSRF checks.
 	 *
 	 * @return bool
 	 */