fix empty issuer in uri
authorJustin Wind <justin.wind+git@gmail.com>
Sat, 9 Mar 2024 00:39:54 +0000 (16:39 -0800)
committerJustin Wind <justin.wind+git@gmail.com>
Sat, 9 Mar 2024 00:39:54 +0000 (16:39 -0800)
lib/hotp.js

index 5e20ec6b8ea9bdf29cd66bf5e7f0163dd6f9f547..7741a19fc9ae4e3dc5d6511dc7a1905d16b2cb9a 100644 (file)
@@ -277,6 +277,7 @@ class HMACBasedOneTimePassword {
 
   static get _qrURIDefaultOptions() {
     return {
+      issuer: '',
       scheme: 'otpauth',
       type: this._type,
     };