global settings: add createUserDir option checkbox.
parent
9c3f563f83
commit
176eaad70b
|
@ -165,6 +165,7 @@
|
||||||
"users": "Users",
|
"users": "Users",
|
||||||
"globalRules": "This is a global set of allow and disallow rules. They apply to every user. You can define specific rules on each user's settings to override this ones.",
|
"globalRules": "This is a global set of allow and disallow rules. They apply to every user. You can define specific rules on each user's settings to override this ones.",
|
||||||
"allowSignup": "Allow users to signup",
|
"allowSignup": "Allow users to signup",
|
||||||
|
"createUserDir": "Auto create user home dir while adding new user",
|
||||||
"insertRegex": "Insert regex expression",
|
"insertRegex": "Insert regex expression",
|
||||||
"insertPath": "Insert the path",
|
"insertPath": "Insert the path",
|
||||||
"userUpdated": "User updated!",
|
"userUpdated": "User updated!",
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<p><input type="checkbox" v-model="settings.signup"> {{ $t('settings.allowSignup') }}</p>
|
<p><input type="checkbox" v-model="settings.signup"> {{ $t('settings.allowSignup') }}</p>
|
||||||
|
|
||||||
|
<p><input type="checkbox" v-model="settings.createUserDir"> {{ $t('settings.createUserDir') }}</p>
|
||||||
|
|
||||||
<h3>{{ $t('settings.rules') }}</h3>
|
<h3>{{ $t('settings.rules') }}</h3>
|
||||||
<p class="small">{{ $t('settings.globalRules') }}</p>
|
<p class="small">{{ $t('settings.globalRules') }}</p>
|
||||||
<rules :rules.sync="settings.rules" />
|
<rules :rules.sync="settings.rules" />
|
||||||
|
|
Loading…
Reference in New Issue