Skip to content

Commit 7b34c29

Browse files
committed
Resolve issue CSRF mismatch
1 parent dbeb175 commit 7b34c29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/App/Editor/EditorAssetManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ class EditorAssetManager
1818

1919
function __construct($save_url = null)
2020
{
21-
$this->headers['_token'] = csrf_token();
21+
$this->headers['X-CSRF-TOKEN'] = csrf_token();
2222
}
2323
}

0 commit comments

Comments
 (0)