fixed login problem
This commit is contained in:
@@ -50,6 +50,8 @@ class AuthViewModel with ChangeNotifier {
|
|||||||
_errorMessage = null;
|
_errorMessage = null;
|
||||||
notifyListeners();
|
notifyListeners();
|
||||||
|
|
||||||
|
await localLogout();
|
||||||
|
|
||||||
final result = await _authRepository.login(
|
final result = await _authRepository.login(
|
||||||
username: usernameController.text.trim(),
|
username: usernameController.text.trim(),
|
||||||
password: passwordController.text.trim(),
|
password: passwordController.text.trim(),
|
||||||
|
|||||||
Reference in New Issue
Block a user