-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
48 changed files
with
371 additions
and
371 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,45 +2,45 @@ | |
Yii::setPathOfAlias('registration' , dirname(__FILE__)); | ||
|
||
class RegistrationModule extends CWebModule { | ||
// why enableRegistration ? - in case you only want a recovery ! | ||
public $layout = 'user.views.layouts.yum'; | ||
public $enableRegistration = true; | ||
public $enableRecovery = true; | ||
|
||
public $recoveryUrl = array('//registration/registration/recovery'); | ||
public $activationUrl = array('//registration/registration/activation'); | ||
public $registrationUrl = array('//registration/registration/registration'); | ||
|
||
public $activationSuccessView = '/registration/activation_success'; | ||
public $activationFailureView = '/registration/activation_failure'; | ||
|
||
// Whether to confirm the activation of an user by email | ||
public $enableActivationConfirmation = true; | ||
|
||
public $registrationEmail='[email protected]'; | ||
public $recoveryEmail='[email protected]'; | ||
|
||
// Which roles should be assigned automatically to a fresh registered user? | ||
// Use role id, for example array(1,4,5) | ||
public $defaultRoles = array(); | ||
public $defaultHybridAuthRoles = array(); | ||
|
||
public $registrationView = '/registration/registration'; | ||
public $changePasswordView = 'user.views.user.changepassword'; | ||
public $recoverPasswordView = 'registration.views.registration.recovery'; | ||
|
||
/** | ||
* Whether to use captcha in registration process | ||
* @var boolean | ||
*/ | ||
public $enableCaptcha = true; | ||
|
||
public $loginAfterSuccessfulRecovery = false; | ||
public $loginAfterSuccessfulActivation = false; | ||
|
||
public $controllerMap=array( | ||
'registration'=>array( | ||
'class'=>'registration.controllers.YumRegistrationController'), | ||
); | ||
|
||
// why enableRegistration ? - in case you only want a recovery ! | ||
public $layout = 'user.views.layouts.yum'; | ||
public $enableRegistration = true; | ||
public $enableRecovery = true; | ||
public $recoveryUrl = array('//registration/registration/recovery'); | ||
public $activationUrl = array('//registration/registration/activation'); | ||
public $registrationUrl = array('//registration/registration/registration'); | ||
public $activationSuccessView = '/registration/activation_success'; | ||
public $activationFailureView = '/registration/activation_failure'; | ||
// Whether to confirm the activation of an user by email | ||
public $enableActivationConfirmation = true; | ||
public $registrationEmail='[email protected]'; | ||
public $recoveryEmail='[email protected]'; | ||
// Which roles should be assigned automatically to a fresh registered user? | ||
// Use role id, for example array(1,4,5) | ||
public $defaultRoles = array(); | ||
public $defaultHybridAuthRoles = array(); | ||
public $registrationView = '/registration/registration'; | ||
public $changePasswordView = 'user.views.user.changepassword'; | ||
public $recoverPasswordView = 'registration.views.registration.recovery'; | ||
/** | ||
* Whether to use captcha in registration process | ||
* @var boolean | ||
*/ | ||
public $enableCaptcha = true; | ||
public $loginAfterSuccessfulRecovery = false; | ||
public $loginAfterSuccessfulActivation = false; | ||
public $controllerMap=array( | ||
'registration'=>array( | ||
'class'=>'registration.controllers.YumRegistrationController'), | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.