Revert "[MM-37984] Allow Desktop App to authenticate via external providers outside of the app on supported servers (#23795)" (#24039)
This reverts commit abdf4e58c3.
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
38fd8cd6aa
Коммит
823ef27d6c
@@ -756,18 +756,6 @@ export default class Client4 {
|
||||
return profile;
|
||||
};
|
||||
|
||||
loginWithDesktopToken = async (token: string) => {
|
||||
const body: any = {
|
||||
token,
|
||||
deviceId: '',
|
||||
};
|
||||
|
||||
return await this.doFetch<UserProfile>(
|
||||
`${this.getUsersRoute()}/login/desktop_token`,
|
||||
{method: 'post', body: JSON.stringify(body)},
|
||||
);
|
||||
};
|
||||
|
||||
loginById = (id: string, password: string, token = '') => {
|
||||
this.trackEvent('api', 'api_users_login');
|
||||
const body: any = {
|
||||
|
||||
Ссылка в новой задаче
Block a user