Class dektrium\user\commands\ConfirmController
Inheritance | dektrium\user\commands\ConfirmController » yii\console\Controller |
---|
Confirms a user.
Protected Properties
Property | Type | Description | Defined By |
---|---|---|---|
$finder | dektrium\user\Finder | dektrium\user\commands\ConfirmController |
Public Methods
Method | Description | Defined By |
---|---|---|
__construct() | dektrium\user\commands\ConfirmController | |
actionIndex() | Confirms a user by setting confirmed_at field to current time. | dektrium\user\commands\ConfirmController |
Property Details
Method Details
public void __construct ( $id, $module, dektrium\user\Finder $finder, $config = [] ) | ||
$id | string | |
$module | \yii\base\Module | |
$finder | dektrium\user\Finder | |
$config | array |
Confirms a user by setting confirmed_at field to current time.
public void actionIndex ( $search ) | ||
$search | string | Email or username |