We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e9b380 commit 671bfc6Copy full SHA for 671bfc6
src/modules/crypto/otpauth.ts
@@ -39,7 +39,7 @@ const parseOtpauth = (uri: string): Otpauth => {
39
type: url.hostname,
40
issuer: searchParams.get('issuer') ?? '',
41
secret: searchParams.get('secret') ?? '',
42
- algorithm: matchAlgorithm(searchParams.get('algorithm') ?? 'sha1'),
+ algorithm: matchAlgorithm(searchParams.get('algorithm') ?? 'SHA1'),
43
digits: Number(searchParams.get('digits') ?? 0),
44
period: Number(searchParams.get('period') ?? 0),
45
counter: Number(searchParams.get('counter') ?? 0),
0 commit comments