Enh: Show registration form captcha per default

This commit is contained in:
Lucas Bartholemy 2019-09-24 13:53:37 +02:00
parent e96eda5702
commit fe754c716c
2 changed files with 2 additions and 0 deletions

View File

@ -60,3 +60,4 @@ HumHub Change Log (DEVELOP)
- Enh: Update Yii version to 2.0.27
- Enh: Reorganized translation method categories to reduce language files
- Enh: Removed deprecated methods/classes since v1.1 - see migration guide for details
- Enh: Show registration form captcha per default

View File

@ -41,6 +41,7 @@ class InitialData
Yii::$app->getModule('user')->settings->set('auth.needApproval', '0');
Yii::$app->getModule('user')->settings->set('auth.anonymousRegistration', '1');
Yii::$app->getModule('user')->settings->set('auth.internalUsersCanInvite', '1');
Yii::$app->getModule('user')->settings->set('auth.showCaptureInRegisterForm', '1');
// Mailing
Yii::$app->settings->set('mailer.transportType', 'php');