Fix jwt-token
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user