From f4148d0f220faac2a8f7a34d1f6957e827eaaa6f Mon Sep 17 00:00:00 2001 From: visual-edit Date: Mon, 16 Mar 2026 19:20:53 +0000 Subject: [PATCH] visual_edit_1773688853684 --- frontend/src/pages/AdminLogin.jsx | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/frontend/src/pages/AdminLogin.jsx b/frontend/src/pages/AdminLogin.jsx index 896f1d6..ebfd930 100644 --- a/frontend/src/pages/AdminLogin.jsx +++ b/frontend/src/pages/AdminLogin.jsx @@ -16,7 +16,7 @@ const AdminLogin = () => { const handleLogin = async (e) => { e.preventDefault(); setLoading(true); - + try { const response = await authAPI.login(email, password); localStorage.setItem('auth_token', response.access_token); @@ -57,8 +57,8 @@ const AdminLogin = () => { value={email} onChange={(e) => setEmail(e.target.value)} className="pl-10" - required - /> + required /> +
@@ -71,25 +71,25 @@ const AdminLogin = () => { value={password} onChange={(e) => setPassword(e.target.value)} className="pl-10" - required - /> + required /> +
-
+

Demo Credentials:
- Email: admin@epictravel.com
- Password: Joker1974!!! + Email: admin@epictravel.co
+

-
- ); + ); + }; -export default AdminLogin; +export default AdminLogin; \ No newline at end of file