Toggle navigation
Toggle navigation
This project
Loading...
Sign in
tools
/
totp-key
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
lintry
2017-06-22 15:33:06 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
80ae48dab76c12c24729d5710f594bf97329a359
80ae48da
1 parent
c97c5898
修改错误变量
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
lib/authenticator.js
lib/authenticator.js
View file @
80ae48d
...
...
@@ -47,7 +47,7 @@ const Authenticator = function (secret, options) {
* @return {string}
*/
this
.
getOtpAuthURL
=
function
(
label
,
issuer
)
{
return
speakeasy
.
otpauthURL
(
_
.
merge
({},
TOTP_OPTIONS
,
{
label
:
title
,
issuer
:
issuer
}));
return
speakeasy
.
otpauthURL
(
_
.
merge
({},
TOTP_OPTIONS
,
{
label
:
label
,
issuer
:
issuer
}));
};
/**
...
...
Please
register
or
login
to post a comment