mirror of
https://gitlab.gnome.org/World/Authenticator.git
synced 2025-03-04 08:44:40 +01:00
otp uri: Serialize algorithm with uppercase
This commit is contained in:
parent
fe88df43ad
commit
07ea71e0fe
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ impl From<OTPUri> for String {
|
|||
utf8_percent_encode(&val.label, NON_ALPHANUMERIC),
|
||||
val.secret,
|
||||
utf8_percent_encode(&val.issuer, NON_ALPHANUMERIC),
|
||||
val.algorithm.to_string(),
|
||||
val.algorithm.to_string().to_uppercase(),
|
||||
);
|
||||
if let Some(digits) = val.digits {
|
||||
write!(otp_uri, "&digits={digits}").unwrap();
|
||||
|
|
Loading…
Add table
Reference in a new issue