Move backend.page.beforeDisplay after auth check
Fixes #3215. Related: 47cd204686 (diff-6cdbb280344f40eebe758cf8e8e5f7d9)
This commit is contained in:
parent
4a6e0e1e0e
commit
c7a3354dfd
|
|
@ -183,13 +183,6 @@ class Controller extends Extendable
|
||||||
return Redirect::secure(Request::path());
|
return Redirect::secure(Request::path());
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* Extensibility
|
|
||||||
*/
|
|
||||||
if ($event = $this->fireSystemEvent('backend.page.beforeDisplay', [$action, $params])) {
|
|
||||||
return $event;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Determine if this request is a public action.
|
* Determine if this request is a public action.
|
||||||
*/
|
*/
|
||||||
|
|
@ -216,6 +209,13 @@ class Controller extends Extendable
|
||||||
return Response::make(View::make('backend::access_denied'), 403);
|
return Response::make(View::make('backend::access_denied'), 403);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Extensibility
|
||||||
|
*/
|
||||||
|
if ($event = $this->fireSystemEvent('backend.page.beforeDisplay', [$action, $params])) {
|
||||||
|
return $event;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Set the admin preference locale
|
* Set the admin preference locale
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue