mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 17:03:49 +01:00
Merge pull request #1297 from rinsuki/fix/1296-broken
#1296 で壊してしまったのを直した
This commit is contained in:
commit
2eb9e6ed6f
@ -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…
Reference in New Issue
Block a user