Wichige änderung an DB
This commit is contained in:
@@ -55,12 +55,6 @@ export default function LoginPage() {
|
||||
window.location.href = '/api/auth/google';
|
||||
};
|
||||
|
||||
// Demo login
|
||||
const handleDemoLogin = () => {
|
||||
setEmail('demo@qrmaster.com');
|
||||
setPassword('demo123');
|
||||
};
|
||||
|
||||
return (
|
||||
<div className="min-h-screen bg-gradient-to-br from-primary-50 to-white flex items-center justify-center p-4">
|
||||
<div className="w-full max-w-md">
|
||||
@@ -149,18 +143,6 @@ export default function LoginPage() {
|
||||
</svg>
|
||||
Sign in with Google
|
||||
</Button>
|
||||
|
||||
<Button
|
||||
type="button"
|
||||
variant="outline"
|
||||
className="w-full"
|
||||
onClick={handleDemoLogin}
|
||||
>
|
||||
<svg className="w-5 h-5 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z" />
|
||||
</svg>
|
||||
Use Demo Account
|
||||
</Button>
|
||||
</form>
|
||||
|
||||
<div className="mt-6 text-center">
|
||||
|
||||
Reference in New Issue
Block a user