mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-01-23 14:48:36 +01:00
Fix Accounts.vue
This commit is contained in:
parent
2be4e3e4e1
commit
fc13d4faef
@ -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;
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user