This commit is contained in:
syuilo
2018-08-20 23:49:00 +09:00
parent a542765cf8
commit 2c9bacfcea
2 changed files with 5 additions and 4 deletions

View File

@ -53,8 +53,9 @@ export default Vue.extend({
this.signing = true;
(this as any).api('signin', {
username: this.username,
password: this.password,
// password という名前(または username とのペア?)では何らかのフィルタリングがされるっぽい?
x: this.username,
y: this.password,
token: this.user && this.user.twoFactorEnabled ? this.token : undefined
}).then(() => {
location.reload();