fixed login problem

This commit is contained in:
amirrezaghabeli
2025-08-27 14:50:18 +03:30
parent bb2de6cb66
commit f4d5d16959
+2
View File
@@ -50,6 +50,8 @@ class AuthViewModel with ChangeNotifier {
_errorMessage = null;
notifyListeners();
await localLogout();
final result = await _authRepository.login(
username: usernameController.text.trim(),
password: passwordController.text.trim(),