Method | Description | |
---|---|---|
_removeValidationToken ( Cake\Datasource\EntityInterface $user ) : Cake\Datasource\EntityInterface | Remove user token for validation | |
_updateActive ( Cake\Datasource\EntityInterface $user, boolean $validateEmail, integer $tokenExpiration ) : Cake\Datasource\EntityInterface | DRY for update active and token based on validateEmail flag |
protected _removeValidationToken ( Cake\Datasource\EntityInterface $user ) : Cake\Datasource\EntityInterface | ||
$user | Cake\Datasource\EntityInterface | user object. |
return | Cake\Datasource\EntityInterface |
protected _updateActive ( Cake\Datasource\EntityInterface $user, boolean $validateEmail, integer $tokenExpiration ) : Cake\Datasource\EntityInterface | ||
$user | Cake\Datasource\EntityInterface | User to be updated. |
$validateEmail | boolean | email user to validate. |
$tokenExpiration | integer | seconds to expire from now |
return | Cake\Datasource\EntityInterface |