mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-09 05:54:34 +02:00
Fix #126 - Save updated HOTP counter after an OTP generation
This commit is contained in:
@ -255,6 +255,8 @@
|
||||
getHOTP: async function() {
|
||||
|
||||
let otp = await this.getOtp()
|
||||
this.internal_password = otp.password
|
||||
this.internal_counter = otp.counter
|
||||
|
||||
// returned counter & uri are incremented
|
||||
this.$emit('increment-hotp', { nextHotpCounter: otp.counter, nextUri: otp.uri })
|
||||
|
Reference in New Issue
Block a user