$auth->status()
Returns the authentication status object
Parameters
Name | Type | Default | Description |
---|---|---|---|
$session | Kirby\Session\Session |array |null |
null |
|
$allowImpersonation | bool |
true |
If set to false, only the actually logged in user will be returned |