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.
1 parent e5645d0 commit 746f615Copy full SHA for 746f615
index.js
@@ -186,7 +186,7 @@ export function getTOTPAuthUri({
186
const params = new URLSearchParams({
187
secret,
188
issuer,
189
- algorithm: algorithm.algorithm.replaceAll('-', ''),
+ algorithm: algorithm.algorithm?.replaceAll('-', ''),
190
digits: digits.toString(),
191
period: period.toString(),
192
})
0 commit comments