We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
replace line 2: var qr = require('qr-image'); with var qr = require('qrcode-js');
and 15: // Get QR code URL 16: locals.qrPath = '/qrcode?qrurl=' + encodeURIComponent(locals.secret.otpauth_url);
// Get QR code URL locals.qrPath = qr.toDataURL(locals.secret.otpauth_url, 4);
The text was updated successfully, but these errors were encountered:
Everything works as expected.
Sorry, something went wrong.
No branches or pull requests
replace
line 2: var qr = require('qr-image');
with
var qr = require('qrcode-js');
and
15: // Get QR code URL
16: locals.qrPath = '/qrcode?qrurl=' + encodeURIComponent(locals.secret.otpauth_url);
// Get QR code URL
locals.qrPath = qr.toDataURL(locals.secret.otpauth_url, 4);
The text was updated successfully, but these errors were encountered: