mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
#1296 で壊してしまったのを直した
This commit is contained in:
parent
3170a5b75b
commit
6dd71c2770
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ export default Vue.extend({
|
|||
(this as any).api('signin', {
|
||||
username: this.username,
|
||||
password: this.password,
|
||||
token: this.user && this.user.two_factor_enabled ? this.token : undefined
|
||||
token: this.user && this.user.account.two_factor_enabled ? this.token : undefined
|
||||
}).then(() => {
|
||||
location.reload();
|
||||
}).catch(() => {
|
||||
|
|
Loading…
Add table
Reference in a new issue