hot fix for page creation (token not being shared on create mode)

pull/84/head
Ro 3 years ago
parent 9fe8ce1e4c
commit d6f6f771ac

@ -144,7 +144,8 @@ class PagesAPI
);
} else {
$result = [
"message" => "Form token, auth failed. Uh oh.",
"message" =>
"Unneccessary key found. Post not authorized, slick.",
"type" => "TASK_FORM_AUTH",
];
}

@ -107,6 +107,7 @@ class DashControl
} else {
$pageOptions = [
"title" => "Fipamo | Create Page",
"token" => Session::get("form_token"),
"mode" => $mode,
"status" => Session::active(),
];

Loading…
Cancel
Save