Add Test button to preview OTP before account storage

This commit is contained in:
Bubka
2020-02-05 23:45:53 +01:00
parent 2bc505558b
commit 4263951ef6
5 changed files with 76 additions and 65 deletions

View File

@ -221,13 +221,7 @@
},
showAccount(id) {
if( id ) {
this.$refs.TwofaccountShow.getAccount(id)
}
else {
let err = new Error("Id missing")
this.$router.push({ name: 'genericError', params: { err: err } });
}
this.$refs.TwofaccountShow.showAccount(id)
},
deleteAccount: function (id) {