Skip to content

Kirby 5.0.4

$status->mode()

Returns the purpose of the challenge

$status->mode(): string

Return type

string

`login|password-reset|2fa`

This method modifies the existing $status object it is applied to and returns it again.

Parent class

Kirby\Cms\Auth\Status