Commit 00eef517 authored by Mark Harding's avatar Mark Harding
Browse files

(fix): do not show appeal review if not loggedin

parent a8f2ccf4
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -16,6 +16,13 @@ class appeals implements Interfaces\Api
{
    public function get($pages)
    {
        if (!Core\Session::isLoggedIn()) {
            return Factory::response([
                'status' => 'error',
                'message' => 'You must be loggedin',
            ]);
        }

        if ($_POST['offset']) {
            return Factory::response([ ]);
        }