@lvce-editor/auth-worker 3.13.0 → 3.13.1
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.
- package/dist/authWorkerMain.js +1 -1
- package/package.json +1 -1
package/dist/authWorkerMain.js
CHANGED
|
@@ -2666,7 +2666,7 @@ const syncBackendAuth = async backendUrl => {
|
|
|
2666
2666
|
if (!parsed.authAccessToken) {
|
|
2667
2667
|
return getLoggedOutBackendAuthState();
|
|
2668
2668
|
}
|
|
2669
|
-
return parsed;
|
|
2669
|
+
return persistLoginResult(parsed);
|
|
2670
2670
|
} catch (error) {
|
|
2671
2671
|
const authErrorMessage = error instanceof Error && error.message ? error.message : 'Backend authentication failed.';
|
|
2672
2672
|
return getLoggedOutBackendAuthState(authErrorMessage);
|