@colijnit/ioneconnector 2.0.5 → 2.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -26,7 +26,7 @@ class AjaxService extends base_backend_connection_service_1.BaseBackendConnectio
|
|
|
26
26
|
if (options && options.timeoutInMs) {
|
|
27
27
|
this._timeout = options.timeoutInMs;
|
|
28
28
|
}
|
|
29
|
-
if (options && options.username && options.password) {
|
|
29
|
+
if (options && ((options.username && options.password) || options.session)) {
|
|
30
30
|
this._usePublicToken = false;
|
|
31
31
|
}
|
|
32
32
|
}
|