user add: hide active checkbox

This commit is contained in:
Girish Ramakrishnan
2025-11-07 10:15:22 +01:00
parent 52b46e2b3e
commit 5b834b4396
2 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -294,7 +294,8 @@ defineExpose({
<MultiSelect v-if="allLocalGroups.length" v-model="localGroups" option-key="id" :options="allLocalGroups" :search-threshold="20" />
</FormGroup>
<Checkbox v-model="active" :disabled="isSelf" :label="$t('users.user.activeCheckbox')" help-url="https://docs.cloudron.io/user-management/#disable-user"/>
<!-- hidden for now, until we figure why one would want to add an inactive user -->
<Checkbox v-if="false" v-model="active" :disabled="isSelf" :label="$t('users.user.activeCheckbox')" help-url="https://docs.cloudron.io/user-management/#disable-user"/>
<Checkbox v-if="!user" v-model="sendInvite" :label="$t('users.addUserDialog.sendInviteCheckbox')" />
</fieldset>
</form>