Skip to content

Commit

Permalink
fixup! refactor(AppFramework): Improve and document cookie check requ…
Browse files Browse the repository at this point in the history
…irements
  • Loading branch information
provokateurin committed May 6, 2024
1 parent d8e0d36 commit a77ef60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/AppFramework/Http/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ public function passesCSRFCheck(): bool {
/**
* 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
*/
Expand Down

0 comments on commit a77ef60

Please sign in to comment.