Add webauthn #8
@ -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