mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-13 23:38:32 +02:00
Add option to close token modal after the displayed token is copied
This commit is contained in:
@ -163,6 +163,11 @@
|
||||
|
||||
clipboardSuccessHandler ({ value, event }) {
|
||||
console.log('success', value)
|
||||
|
||||
if(this.$root.appSettings.closeTokenOnCopy) {
|
||||
this.$parent.isActive = false
|
||||
this.clearOTP()
|
||||
}
|
||||
},
|
||||
|
||||
clipboardErrorHandler ({ value, event }) {
|
||||
|
Reference in New Issue
Block a user