mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 08:12:15 +00:00
added "I have already 2FA app" into recovery 2fa page
This commit is contained in:
@@ -85,13 +85,10 @@ export default {
|
||||
let copyText = this.$refs.codes
|
||||
|
||||
copyText.select()
|
||||
copyText.setSelectionRange(0, 99999)
|
||||
|
||||
document.execCommand('copy')
|
||||
|
||||
copyText.setAttribute('type', 'hidden')
|
||||
|
||||
window.getSelection().removeAllRanges()
|
||||
|
||||
events.$emit('toaster', {
|
||||
type: 'success',
|
||||
message: this.$t('popup_2fa.toaster_codes_copied'),
|
||||
@@ -146,11 +143,6 @@ export default {
|
||||
if ('two-factor-recovery-codes' === name)
|
||||
this.getRecoveryCodes()
|
||||
})
|
||||
|
||||
axios.get('/api/user/secret')
|
||||
.then(response => {
|
||||
console.log(response.data);
|
||||
})
|
||||
},
|
||||
destroyed() {
|
||||
events.off('popup:open')
|
||||
|
||||
Reference in New Issue
Block a user