From cfd859056898a42ce0ebad2947bbcec8da306afe Mon Sep 17 00:00:00 2001 From: Dyakov Roman Date: Fri, 11 Aug 2023 00:04:19 +0300 Subject: [PATCH] Email auth no scopes --- src/api/auth/AuthEmailApi.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/api/auth/AuthEmailApi.ts b/src/api/auth/AuthEmailApi.ts index 8b1483cd..c6ded41c 100644 --- a/src/api/auth/AuthEmailApi.ts +++ b/src/api/auth/AuthEmailApi.ts @@ -50,9 +50,6 @@ class AuthEmailApi extends AuthBaseApi { } public async login(body: LoginBody) { - if (!body.scopes) { - body.scopes = []; - } if (!body.session_name) { body.session_name = navigator.userAgent ?? UNKNOWN_DEVICE; }