Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -47,7 +47,7 @@ const Authenticator = function (secret, options) { | ... | @@ -47,7 +47,7 @@ const Authenticator = function (secret, options) { |
| 47 | * @return {string} | 47 | * @return {string} |
| 48 | */ | 48 | */ |
| 49 | this.getOtpAuthURL = function (label, issuer) { | 49 | this.getOtpAuthURL = function (label, issuer) { |
| 50 | - return speakeasy.otpauthURL(_.merge({}, TOTP_OPTIONS, {label: title, issuer: issuer})); | 50 | + return speakeasy.otpauthURL(_.merge({}, TOTP_OPTIONS, {label: label, issuer: issuer})); |
| 51 | }; | 51 | }; |
| 52 | 52 | ||
| 53 | /** | 53 | /** | ... | ... |
-
Please register or login to post a comment