We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4b6af23 + 597503b commit 5c5bf36Copy full SHA for 5c5bf36
README.md
@@ -1,4 +1,4 @@
1
-<h1 style="text-align:center" >nestjs-xotp</h1>
+<h1 align="center">nestjs-xotp</h1>
2
3
<p align="center">
4
A <a href="https://github.com/nestjs/nest" rel="nofollow" >Nest</a> module wrapper for <a href="https://github.com/farshidbeheshti/xotp">XOTP</a>.
@@ -88,7 +88,7 @@ authenticate(userOTP: string): boolean {
88
Example #3: Get the keyURI from which create a QR Code from, so that could be scanned by authenticator apps like Google Authenticator!
89
90
```typescript
91
-getKeyUri(userOTP: string): string {
+getKeyUri(): string {
92
return this.xotpService.totp.keyUri({
93
secret: this.xotpService.secret.from('A_STRONG_SECRET_KEY'),
94
account: 'Nestjs-XOTP',
0 commit comments