Skip to content

Commit 1166090

Browse files
authored
[Auth] Fix TOTP URL generation (#15128)
1 parent ea0e252 commit 1166090

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FirebaseAuth/Sources/Swift/MultiFactor/TOTP/TOTPSecret.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ import Foundation
4747
return ""
4848
}
4949
return "otpauth://totp/\(issuer):\(accountName)?secret=\(secretKey)&issuer=\(issuer)" +
50-
"&algorithm=%\(hashingAlgorithm)&digits=\(codeLength)"
50+
"&algorithm=\(hashingAlgorithm)&digits=\(codeLength)"
5151
}
5252

5353
/// Opens the specified QR Code URL in a password manager like iCloud Keychain.

0 commit comments

Comments
 (0)