$methods->firstEnabled()
Returns the first enabled auth method for the current context
$methods->firstEnabled(): Method
Return type
Exceptions
| Type | Description |
|---|---|
Kirby\Exception\NotFoundException |
If no auth method is enabled |
Returns the first enabled auth method for the current context
$methods->firstEnabled(): Method
| Type | Description |
|---|---|
Kirby\Exception\NotFoundException |
If no auth method is enabled |