mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-15 00:02:46 +02:00
Complete exception handling
This commit is contained in:
@ -136,6 +136,9 @@
|
||||
|
||||
}, 1000);
|
||||
})
|
||||
.catch(error => {
|
||||
this.$router.push({ name: 'genericError', params: { err: error.response } });
|
||||
});
|
||||
},
|
||||
|
||||
getHOTP: function() {
|
||||
@ -148,6 +151,9 @@
|
||||
this.next_uri = response.data.nextUri
|
||||
|
||||
})
|
||||
.catch(error => {
|
||||
this.$router.push({ name: 'genericError', params: { err: error.response } });
|
||||
});
|
||||
},
|
||||
|
||||
clearOTP: function() {
|
||||
|
Reference in New Issue
Block a user