check and fix in ui
This commit is contained in:
@@ -10,7 +10,7 @@ class AuthService {
|
||||
// شبیهسازی API Call
|
||||
await Future.delayed(const Duration(seconds: 2));
|
||||
|
||||
if (email == 'test@example.com' && password == 'password123') {
|
||||
if (email == 'a' && password == 'a') {
|
||||
return {'token': 'xyz123', 'name': 'John Doe'};
|
||||
} else {
|
||||
throw Exception('Invalid credentials');
|
||||
|
||||
Reference in New Issue
Block a user