Skip to content

Commit 575699f

Browse files
committed
remove config file from being shown to user
1 parent 90cc582 commit 575699f

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

html/status-template.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
text-shadow: none;
1010
background-color: #1e3a1e; /* Darker background for better contrast */
1111
border: none;
12-
color: #e2e2e2; /* Lighter text for better contrast */
12+
color: #ccc; /* Lighter text for better contrast */
1313
}
1414
.dark .text-success {
1515
color: #4caf50 !important; /* Brighter green in dark mode */
@@ -38,10 +38,6 @@ <h4 class="mb-3">Configuration Details</h4>
3838
<td class="fw-bold" width="30%">Platform</td>
3939
<td>{{status.platform}}</td>
4040
</tr>
41-
<tr>
42-
<td class="fw-bold">Configuration File</td>
43-
<td class="text-break">{{status.configPath}}</td>
44-
</tr>
4541
<tr>
4642
<td class="fw-bold">Current User</td>
4743
<td>{{status.currentUser}}</td>

node/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ async function getAIControlStatus() {
9191
exists: true,
9292
isConfigured: true,
9393
isEnabled: true,
94-
message: `AI is enabled for your user (${currentUser}) but disabled for others.`,
94+
message: `AI is enabled for user (${currentUser}) but disabled for others.`,
9595
managedBy: config.managedByEmail || 'Not specified',
9696
allowedUsers: config.allowedUsers || [],
9797
currentUser: currentUser,

0 commit comments

Comments
 (0)