API Documentation
Table of Contents
Namespaces
Functions
- adminPageGuard() : mixed
- if admin needs password init, redirect to register page, if user not logged in, redirect to login page
- adminRouteGuard() : mixed
- if user not logged in, throw 401
Functions
adminPageGuard()
if admin needs password init, redirect to register page, if user not logged in, redirect to login page
adminPageGuard(Response $response) : mixed
Parameters
- $response : Response
adminRouteGuard()
if user not logged in, throw 401
adminRouteGuard() : mixed