Have to be logged in to create or nonactivate categories
This commit is contained in:
parent
49eb0f7f0a
commit
aa3fbd72d5
@ -169,7 +169,7 @@ class Posts
|
||||
'token' => Token::generate()
|
||||
]);
|
||||
} else {
|
||||
throw new \Exception("Page not found", 404);
|
||||
throw new \Exception("Bad request", 400);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user