TF-571 Store account after authenticate user with basicAuth

This commit is contained in:
Dat PHAM HOANG
2022-05-31 14:32:07 +07:00
committed by Dat H. Pham
parent 471465e1bc
commit 328ff2c4f0
3 changed files with 15 additions and 6 deletions
@@ -18,7 +18,7 @@ class CredentialRepositoryImpl extends CredentialRepository {
@override
Future saveBaseUrl(Uri baseUrl) async {
await sharedPreferences.setString(LoginConstant.keyBaseUrl, baseUrl.origin);
await sharedPreferences.setString(LoginConstant.keyBaseUrl, baseUrl.toString());
}
@override