-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
Google charts has deprecated a months ago, current google charts implementation are not working and getting 404 status. An implementation via node-qrcode would work without issues.
const secret = twofactor.generateSecret({ name: 'urApp', account: user.username });
var QRCode = require('qrcode');
const totpurl = secret.uri;
const qr = QRCode.toDataURL(totpurl, function (err, data_url) {
res.json({ qr: data_url });
});rogeriotaques, exmadesu and MrBartusek
Metadata
Metadata
Assignees
Labels
No labels