Update .gitignore, remove package-lock.json, and enhance Cloudflare and Proxmox adapters
- Added lock file exclusions for pnpm in .gitignore. - Removed obsolete package-lock.json from the api and portal directories. - Enhanced Cloudflare adapter with additional interfaces for zones and tunnels. - Improved Proxmox adapter error handling and logging for API requests. - Updated Proxmox VM parameters with validation rules in the API schema. - Enhanced documentation for Proxmox VM specifications and examples.
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
|
||||
import { useSession } from 'next-auth/react';
|
||||
import { useState } from 'react';
|
||||
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/Card';
|
||||
import { Shield, CheckCircle, XCircle } from 'lucide-react';
|
||||
import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/Card';
|
||||
import { Shield, CheckCircle } from 'lucide-react';
|
||||
import QRCode from 'qrcode';
|
||||
|
||||
export default function TwoFactorAuthPage() {
|
||||
@@ -74,9 +74,9 @@ export default function TwoFactorAuthPage() {
|
||||
<Shield className="h-6 w-6 text-orange-500" />
|
||||
<div>
|
||||
<CardTitle className="text-white">2FA Status</CardTitle>
|
||||
<CardDescription className="text-gray-400">
|
||||
<p className="text-gray-400 text-sm mt-2">
|
||||
{isEnabled ? 'Two-factor authentication is enabled' : 'Two-factor authentication is disabled'}
|
||||
</CardDescription>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</CardHeader>
|
||||
|
||||
Reference in New Issue
Block a user