Hot fix for page creation (token not being share in create mode)

This commit is contained in:
Ro 2021-10-21 13:28:04 -07:00
commit 815ebf58f7
2 changed files with 3 additions and 1 deletions

View file

@ -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",
];
}

View file

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