EmailChallenge::verify()
Verifies the provided code against the created one; default implementation that checks the code that was returned from the create()
method
Parameters
Name | Type | Default | Description |
---|---|---|---|
$user * | Kirby\Cms\User |
– | User to check the code for |
$code * | string |
– | Code to verify |
Return type
bool
Parent class
Kirby\Cms\Auth\EmailChallenge
inherited from Kirby\Cms\Auth\Challenge