Remove user fake when login

This commit is contained in:
dab246
2021-08-18 17:47:16 +07:00
committed by Dat H. Pham
parent 6b31252e7a
commit ab7e7dda03
@@ -9,6 +9,6 @@ class AuthenticationRepositoryImpl extends AuthenticationRepository {
@override
Future<User> authenticationUser(Uri baseUrl, UserName userName, Password password) {
return Future.value(User(UserId(userName.userName), "Alice", "Alice"));
return loginDataSource.authenticationUser(baseUrl, userName, password);
}
}