mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
remove extra lines
This commit is contained in:
parent
6142d8e68a
commit
27ef34974b
1 changed files with 2 additions and 9 deletions
|
|
@ -156,17 +156,10 @@ fn handle(
|
||||||
cancellable.clone(),
|
cancellable.clone(),
|
||||||
// Search for user certificate match request
|
// Search for user certificate match request
|
||||||
// * @TODO this feature does not support multi-protocol yet
|
// * @TODO this feature does not support multi-protocol yet
|
||||||
match this.page
|
this.page
|
||||||
.profile
|
.profile
|
||||||
.identity
|
.identity
|
||||||
.get(&uri.to_string())
|
.get(&uri.to_string()).map(|identity|identity.to_tls_certificate().unwrap()),
|
||||||
{
|
|
||||||
Some(identity) => match identity.to_tls_certificate() {
|
|
||||||
Ok(certificate) => Some(certificate),
|
|
||||||
Err(_) => panic!(), // unexpected
|
|
||||||
},
|
|
||||||
None => None,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
let page = this.page.clone();
|
let page = this.page.clone();
|
||||||
let redirects = this.redirects.clone();
|
let redirects = this.redirects.clone();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue