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