Skip to content
This repository was archived by the owner on May 6, 2025. It is now read-only.

Commit 3ed2144

Browse files
authored
Merge pull request #102 from ttys3/feature-per-user-auto-dir-creation
feature: global settings: add createUserDir option checkbox.
2 parents a437761 + 176eaad commit 3ed2144

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/i18n/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@
165165
"users": "Users",
166166
"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.",
167167
"allowSignup": "Allow users to signup",
168+
"createUserDir": "Auto create user home dir while adding new user",
168169
"insertRegex": "Insert regex expression",
169170
"insertPath": "Insert the path",
170171
"userUpdated": "User updated!",

src/views/settings/Global.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
<div class="card-content">
99
<p><input type="checkbox" v-model="settings.signup"> {{ $t('settings.allowSignup') }}</p>
1010

11+
<p><input type="checkbox" v-model="settings.createUserDir"> {{ $t('settings.createUserDir') }}</p>
12+
1113
<h3>{{ $t('settings.rules') }}</h3>
1214
<p class="small">{{ $t('settings.globalRules') }}</p>
1315
<rules :rules.sync="settings.rules" />

0 commit comments

Comments
 (0)