Skip to content

Commit 5c5bf36

Browse files
Merge pull request #10 from farshidbeheshti/dev
merging dev into main
2 parents 4b6af23 + 597503b commit 5c5bf36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<h1 style="text-align:center" >nestjs-xotp</h1>
1+
<h1 align="center">nestjs-xotp</h1>
22

33
<p align="center">
44
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 {
8888
Example #3: Get the keyURI from which create a QR Code from, so that could be scanned by authenticator apps like Google Authenticator!
8989

9090
```typescript
91-
getKeyUri(userOTP: string): string {
91+
getKeyUri(): string {
9292
return this.xotpService.totp.keyUri({
9393
secret: this.xotpService.secret.from('A_STRONG_SECRET_KEY'),
9494
account: 'Nestjs-XOTP',

0 commit comments

Comments
 (0)