This commit is contained in:
Natsumi
2022-02-13 19:09:16 +13:00
parent c680e4c0b8
commit d27490dbcf

View File

@@ -6018,13 +6018,13 @@ speechSynthesis.getVoices();
}) })
.then(() => { .then(() => {
API.login({ API.login({
username: loginParmas.username, username: loginParmas.username,
password: loginParmas.password, password: loginParmas.password,
endpoint: loginParmas.endpoint endpoint: loginParmas.endpoint
}) })
.catch(() => { .catch(() => {
this.loginForm.loading = false; this.loginForm.loading = false;
API.logout(); API.logout();
}) })
.then(() => { .then(() => {
this.loginForm.loading = false; this.loginForm.loading = false;