mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-01-23 06:38:34 +01:00
Make some cleaning
This commit is contained in:
parent
fcc7e6db03
commit
fb78b975b5
@ -150,7 +150,6 @@
|
||||
if (error.response.status === 422) {
|
||||
emit('validation-error', error.response)
|
||||
}
|
||||
console.log(error)
|
||||
//throw error
|
||||
})
|
||||
.finally(() => {
|
||||
|
@ -28,7 +28,6 @@
|
||||
form.qrcode = qrcodeInput.value.files[0]
|
||||
|
||||
form.upload('/api/v1/qrcode/decode', { returnError: true }).then(response => {
|
||||
console.log(response.data)
|
||||
if (response.data.data.slice(0, 33).toLowerCase() === "otpauth-migration://offline?data=") {
|
||||
bus.migrationUri = response.data.data
|
||||
router.push({ name: 'importAccounts' })
|
||||
|
@ -21,7 +21,6 @@
|
||||
notify.success({ text: response.data.message, duration:-1 })
|
||||
})
|
||||
.catch(error => {
|
||||
console.log(error)
|
||||
if( error.response.data.requestFailed ) {
|
||||
notify.alert({ text: error.response.data.requestFailed, duration:-1 })
|
||||
}
|
||||
|
@ -313,7 +313,6 @@
|
||||
|
||||
twofaccountService.getLogo(form.service, { returnError: true })
|
||||
.then(response => {
|
||||
console.log('enter fetchLogo response')
|
||||
if (response.status === 201) {
|
||||
// clean possible already uploaded temp icon
|
||||
deleteIcon()
|
||||
|
Loading…
Reference in New Issue
Block a user