Update vpn service

This commit is contained in:
MacRimi
2026-03-14 22:10:17 +01:00
parent c37466e948
commit b7d060a1f3
2 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -1124,7 +1124,7 @@ export function SecureGatewaySetup() {
<Button <Button
onClick={() => setShowWizard(true)} onClick={() => setShowWizard(true)}
className="w-full bg-cyan-600 hover:bg-cyan-700" className="bg-cyan-600 hover:bg-cyan-700"
disabled={!runtimeAvailable} disabled={!runtimeAvailable}
> >
<ShieldCheck className="h-4 w-4 mr-2" /> <ShieldCheck className="h-4 w-4 mr-2" />
+7 -7
View File
@@ -1512,7 +1512,7 @@ ${(report.sections && report.sections.length > 0) ? `
Enable authentication to protect your dashboard when accessing from non-private networks. Enable authentication to protect your dashboard when accessing from non-private networks.
</p> </p>
</div> </div>
<Button onClick={() => setShowSetupForm(true)} className="w-full bg-blue-500 hover:bg-blue-600"> <Button onClick={() => setShowSetupForm(true)} className="bg-blue-500 hover:bg-blue-600">
<Shield className="h-4 w-4 mr-2" /> <Shield className="h-4 w-4 mr-2" />
Enable Authentication Enable Authentication
</Button> </Button>
@@ -1584,13 +1584,13 @@ ${(report.sections && report.sections.length > 0) ? `
{authEnabled && ( {authEnabled && (
<div className="space-y-3"> <div className="space-y-3">
<Button onClick={handleLogout} variant="outline" className="w-full bg-transparent"> <Button onClick={handleLogout} variant="outline" className="bg-transparent">
<LogOut className="h-4 w-4 mr-2" /> <LogOut className="h-4 w-4 mr-2" />
Logout Logout
</Button> </Button>
{!showChangePassword && ( {!showChangePassword && (
<Button onClick={() => setShowChangePassword(true)} variant="outline" className="w-full"> <Button onClick={() => setShowChangePassword(true)} variant="outline">
<Lock className="h-4 w-4 mr-2" /> <Lock className="h-4 w-4 mr-2" />
Change Password Change Password
</Button> </Button>
@@ -1681,7 +1681,7 @@ ${(report.sections && report.sections.length > 0) ? `
</div> </div>
</div> </div>
<Button onClick={() => setShow2FASetup(true)} variant="outline" className="w-full"> <Button onClick={() => setShow2FASetup(true)} variant="outline">
<Shield className="h-4 w-4 mr-2" /> <Shield className="h-4 w-4 mr-2" />
Enable Two-Factor Authentication Enable Two-Factor Authentication
</Button> </Button>
@@ -1696,7 +1696,7 @@ ${(report.sections && report.sections.length > 0) ? `
</div> </div>
{!show2FADisable && ( {!show2FADisable && (
<Button onClick={() => setShow2FADisable(true)} variant="outline" className="w-full"> <Button onClick={() => setShow2FADisable(true)} variant="outline">
<Shield className="h-4 w-4 mr-2" /> <Shield className="h-4 w-4 mr-2" />
Disable 2FA Disable 2FA
</Button> </Button>
@@ -1745,7 +1745,7 @@ ${(report.sections && report.sections.length > 0) ? `
</div> </div>
)} )}
<Button onClick={handleDisableAuth} variant="destructive" className="w-full" disabled={loading}> <Button onClick={handleDisableAuth} variant="destructive" disabled={loading}>
Disable Authentication Disable Authentication
</Button> </Button>
</div> </div>
@@ -2011,7 +2011,7 @@ ${(report.sections && report.sections.length > 0) ? `
</div> </div>
{!showApiTokenSection && !apiToken && ( {!showApiTokenSection && !apiToken && (
<Button onClick={() => setShowApiTokenSection(true)} className="w-full bg-purple-500 hover:bg-purple-600"> <Button onClick={() => setShowApiTokenSection(true)} className="bg-purple-500 hover:bg-purple-600">
<Key className="h-4 w-4 mr-2" /> <Key className="h-4 w-4 mr-2" />
Generate New API Token Generate New API Token
</Button> </Button>