Update Readme.md
This commit is contained in:
parent
fec9bf31d3
commit
dff3563b56
@ -48,7 +48,7 @@ var encoded = base32.encode(key);
|
||||
// Google authenticator doesn't like equal signs
|
||||
var encodedForGoogle = encoded.toString().replace(/=/g,'');
|
||||
|
||||
// to create a URI for a qr code (change totp to hotp is using hotp)
|
||||
// to create a URI for a qr code (change totp to hotp if using hotp)
|
||||
var uri = 'otpauth://totp/somelabel?secret=' + encodedForGoogle;
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user