mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-30 12:18:43 +09:00
Merge pull request #555 from BelleNottelling/quickfix
This commit is contained in:
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user