Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow calls to {htop,totp}.Generate() to specify the secret #42

Merged
merged 1 commit into from
Jun 1, 2019

Conversation

pquerna
Copy link
Owner

@pquerna pquerna commented Jun 1, 2019

Rather than using a randomly generated one. Most users should leave .Secret empty, but this does allow the generation of a URL given an existing secret.

Fixes #37

@pquerna pquerna merged commit 43bebef into master Jun 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No supprot for secret in GenerateOpts?
1 participant