add services + more structural additions

This commit is contained in:
Antonio Ramirez
2016-12-04 13:37:15 +01:00
parent 36ffbd83da
commit 3e16d24048
9 changed files with 417 additions and 5 deletions

View File

@ -10,6 +10,10 @@ class Module extends \yii\base\Module
* @var bool whether to allow registration process or not.
*/
public $allowRegistration = true;
/**
* @var bool whether to generate passwords automatically and remove the password field from the registration form.
*/
public $generatePasswords = false;
/**
* @var bool whether to force email confirmation to.
*/
@ -18,6 +22,10 @@ class Module extends \yii\base\Module
* @var bool whether to allow login accounts with unconfirmed emails.
*/
public $allowUnconfirmedEmailLogin = false;
/**
* @var bool whether to enable password recovery or not.
*/
public $allowPasswordRecovery = true;
/**
* @var string the class name of the strategy class to handle user's email change.
*/