TF-2271 Replace string to object for Username & Password

(cherry picked from commit 7958557b9d4787aa5a319267a57b93ccc753c59e)
This commit is contained in:
dab246
2023-11-10 17:05:09 +07:00
committed by Dat Vu
parent 6c6e406879
commit c0bef69435
5 changed files with 13 additions and 20 deletions
@@ -256,8 +256,8 @@ class FcmMessageController extends FcmBaseController {
log('FcmMessageController::_handleGetAccountByBasicAuthSuccess():');
_dynamicUrlInterceptors?.setJmapUrl(credentialViewState.baseUrl.toString());
_authorizationInterceptors?.setBasicAuthorization(
credentialViewState.userName.value,
credentialViewState.password.value,
credentialViewState.userName,
credentialViewState.password,
);
if (FcmUtils.instance.isMobileAndroid) {
_dynamicUrlInterceptors?.changeBaseUrl(credentialViewState.baseUrl.toString());