From 3f0af4117083e8476e88a77b12952d38374d1f25 Mon Sep 17 00:00:00 2001 From: Alexey Safronov Date: Fri, 26 Jul 2024 13:27:35 +0400 Subject: [PATCH] Fix Bug 69417 - WordPress. Seamless DocSpace authorization does not work in a frame --- packages/shared/store/AuthStore.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/shared/store/AuthStore.ts b/packages/shared/store/AuthStore.ts index a7dea4f35a..91da712b6a 100644 --- a/packages/shared/store/AuthStore.ts +++ b/packages/shared/store/AuthStore.ts @@ -369,7 +369,7 @@ class AuthStore { login = async (user: TUser, hash: string, session = true) => { try { - const response = (await api.user.login(user, hash, session)) as { + const response = (await api.user.login(user, hash, "", session)) as { token: string; tfa: string; error: { message: unknown };