$totpChallenge->mode()
Returns the purpose of the challenge
$totpChallenge->mode(): 'login'|'password-reset'|'2fa'
Return types
'login'or'password-reset'or'2fa'
Parent class
Kirby\Auth\Challenge\TotpChallenge
inherited from Kirby\Auth\Challenge