cargo clippy
This commit is contained in:
parent
49716a8bf5
commit
0f2fe87b5d
@ -62,7 +62,7 @@ impl WebAuthManager {
|
||||
.expect("Failed to parse configuration origin!"),
|
||||
relying_party_id: conf.domain_name().split_once(':')
|
||||
.map(|s| s.0)
|
||||
.unwrap_or(conf.domain_name())
|
||||
.unwrap_or_else(|| conf.domain_name())
|
||||
.to_string(),
|
||||
}),
|
||||
crypto_wrapper: CryptoWrapper::new_random(),
|
||||
|
Loading…
Reference in New Issue
Block a user