Fix jwt-token

This commit is contained in:
2025-09-13 13:57:40 +02:00
parent 897f959c49
commit 98c75c125d
5 changed files with 392 additions and 13 deletions

View File

@@ -216,17 +216,6 @@ const Login = () => {
</div>
)}
{/* Demo credentials for local/ldap auth */}
{(tenantConfig?.auth_provider === 'local' || tenantConfig?.auth_provider === 'ldap') && (
<div className="text-center">
<p className="text-sm text-gray-600">
Demo credentials: <br />
Username: <code className="bg-gray-100 px-1 rounded">admin</code> <br />
Password: <code className="bg-gray-100 px-1 rounded">admin123</code>
</p>
</div>
)}
{/* Error message if auth provider not configured */}
{!tenantConfig?.auth_provider && (
<div className="mt-8 p-4 bg-red-50 border border-red-200 rounded-md">