Skip to content

Commit

Permalink
Fix character input prompt on login button click (vrcx-team#1007)
Browse files Browse the repository at this point in the history
  • Loading branch information
Map1en authored and Natsumi-sama committed Dec 5, 2024
1 parent ba63b80 commit 68dc595
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions html/src/classes/apiLogin.js
Original file line number Diff line number Diff line change
Expand Up @@ -374,14 +374,7 @@ export default class extends baseClass {
.saveCredentials,
cipher: pwd
}).then(() => {
this.loginForm.username =
'';
this.loginForm.password =
'';
this.loginForm.endpoint =
'';
this.loginForm.websocket =
'';
this.$refs.loginForm.resetFields();
});
});
});
Expand All @@ -399,10 +392,7 @@ export default class extends baseClass {
saveCredentials: this.loginForm.saveCredentials
})
.then(() => {
this.loginForm.username = '';
this.loginForm.password = '';
this.loginForm.endpoint = '';
this.loginForm.websocket = '';
this.$refs.loginForm.resetFields();
})
.finally(() => {
this.loginForm.loading = false;
Expand Down

0 comments on commit 68dc595

Please sign in to comment.