mirror of
https://github.com/humhub/humhub.git
synced 2025-04-22 16:11:55 +02:00
Changed default authentication settings after installation
This commit is contained in:
parent
b2b0cb6f49
commit
01f697ce16
@ -295,9 +295,10 @@ class ConfigController extends Controller
|
||||
// Authentication
|
||||
HSetting::Set('authInternal', '1', 'authentication');
|
||||
HSetting::Set('authLdap', '0', 'authentication');
|
||||
HSetting::Set('needApproval', '1', 'authentication_internal');
|
||||
HSetting::Set('needApproval', '0', 'authentication_internal');
|
||||
HSetting::Set('anonymousRegistration', '1', 'authentication_internal');
|
||||
|
||||
HSetting::Set('internalUsersCanInvite', '1', 'authentication_internal');
|
||||
|
||||
// Mailing
|
||||
HSetting::Set('transportType', 'php', 'mailing');
|
||||
HSetting::Set('systemEmailAddress', 'social@example.com', 'mailing');
|
||||
|
@ -62,7 +62,7 @@
|
||||
|
||||
<hr>
|
||||
|
||||
<?php echo CHtml::submitButton(Yii::t('InstallerModule.base', 'Check and save'), array('class' => 'btn btn-success')); ?>
|
||||
<?php echo CHtml::submitButton(Yii::t('InstallerModule.base', 'Next'), array('class' => 'btn btn-primary')); ?>
|
||||
|
||||
<?php $this->endWidget(); ?>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user