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

Create admin page #149

Closed
3 tasks done
nohorjo opened this issue Sep 14, 2018 · 1 comment
Closed
3 tasks done

Create admin page #149

nohorjo opened this issue Sep 14, 2018 · 1 comment

Comments

@nohorjo
Copy link
Owner

nohorjo commented Sep 14, 2018

  • shell commands
  • sql commands
  • protected with time based keys
@nohorjo
Copy link
Owner Author

nohorjo commented Sep 14, 2018

https://raw.githubusercontent.com/yeojz/otplib/gh-pages/lib/otplib-browser.js

import authenticator from 'otplib';
 
const secret = otplib.authenticator.generateSecret(); // base 32 encoded hex secret key
const token = otplib.authenticator.generate(secret);
const auth = otplib.authenticator.check(token, secret);

nohorjo added a commit that referenced this issue Sep 16, 2018
nohorjo added a commit that referenced this issue Sep 16, 2018
@nohorjo nohorjo closed this as completed Sep 16, 2018
nohorjo pushed a commit that referenced this issue Sep 17, 2018
nohorjo pushed a commit that referenced this issue Sep 24, 2018
nohorjo pushed a commit that referenced this issue Sep 24, 2018
nohorjo pushed a commit that referenced this issue Sep 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant