mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-07-14 19:35:05 +02:00
Fix Accounts.vue
This commit is contained in:
@ -156,12 +156,12 @@
|
|||||||
|
|
||||||
axios.get('api/twofaccounts/' + id)
|
axios.get('api/twofaccounts/' + id)
|
||||||
.then(response => {
|
.then(response => {
|
||||||
this.twofaccount.id = data.id
|
this.twofaccount.id = response.data.id
|
||||||
this.twofaccount.service = data.service
|
this.twofaccount.service = response.data.service
|
||||||
this.twofaccount.account = data.account
|
this.twofaccount.account = response.data.account
|
||||||
this.twofaccount.icon = data.icon
|
this.twofaccount.icon = response.data.icon
|
||||||
|
|
||||||
this.$refs.OneTimePassword.AccountId = data.id
|
this.$refs.OneTimePassword.AccountId = response.data.id
|
||||||
this.$refs.OneTimePassword.getOTP()
|
this.$refs.OneTimePassword.getOTP()
|
||||||
this.ShowTwofaccountInModal = true;
|
this.ShowTwofaccountInModal = true;
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user