Merge pull request #555 from BelleNottelling/quickfix

This commit is contained in:
Yağızhan authored and GitHub committed 2022-12-08 22:57:11 +03:00
commit c8b9faef93
1 file changed
+1 -1
+1 -1
View File
@@ -305,7 +305,7 @@ class Client implements InjectionAwareInterface
/* Due to the way the cart works, it creates a new session which causes issues with the CSRF token system.
* Due to this, we whitelist the checkout URL.
*/
if(strpos($_SERVER['REQUEST_URI'], "/api/client/cart/checkout", -25) !== false){
if(strpos($_SERVER['REQUEST_URI'], "/api/client/cart/checkout") !== false){
return true;
}