diff options
Diffstat (limited to 'shared/extra-utils/users/login.ts')
-rw-r--r-- | shared/extra-utils/users/login.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/extra-utils/users/login.ts b/shared/extra-utils/users/login.ts index d4ee8e517..d0c26a4f0 100644 --- a/shared/extra-utils/users/login.ts +++ b/shared/extra-utils/users/login.ts | |||
@@ -4,7 +4,7 @@ function setAccessTokensToServers (servers: ServerInfo[]) { | |||
4 | const tasks: Promise<any>[] = [] | 4 | const tasks: Promise<any>[] = [] |
5 | 5 | ||
6 | for (const server of servers) { | 6 | for (const server of servers) { |
7 | const p = server.loginCommand.getAccessToken() | 7 | const p = server.login.getAccessToken() |
8 | .then(t => { server.accessToken = t }) | 8 | .then(t => { server.accessToken = t }) |
9 | tasks.push(p) | 9 | tasks.push(p) |
10 | } | 10 | } |