FaxServer icon indicating copy to clipboard operation
FaxServer copied to clipboard

Regression. Commit d71824816c89424696d4d07f916f8c4e75ebd4bf breaks 2FA activation

Open ZetaTwo opened this issue 6 years ago • 1 comments

Regression. Commit d71824816c89424696d4d07f916f8c4e75ebd4bf reverted this change so now 2FA is broken again.

Change jQuery('#code').qrcode("#(totpToken)");

Into jQuery('#code').qrcode("otpauth://totp/Fax%20Server:#(email)?secret=#(totpToken)&issuer=Fax%20Server&algorithm=SHA1&digits=6&period=30");

In Resources/Views/user.leaf:5 to fix this.

Originally posted by @ZetaTwo in https://github.com/bludesign/FaxServer/issues/9#issuecomment-500785446

ZetaTwo avatar Jun 11 '19 10:06 ZetaTwo

Reference documentation: https://github.com/google/google-authenticator/wiki/Key-Uri-Format

ZetaTwo avatar Jun 11 '19 12:06 ZetaTwo