mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 17:20:08 +00:00
trim CN prefix from certificate name
This commit is contained in:
parent
73b2b2569f
commit
7254f8e986
@ -44,7 +44,7 @@ impl Gemini {
|
|||||||
// Append record option
|
// Append record option
|
||||||
widget.form.list.append(
|
widget.form.list.append(
|
||||||
Some(identity.id),
|
Some(identity.id),
|
||||||
&certificate.subject_name().unwrap(),
|
&certificate.subject_name().unwrap().replace("CN=", ""), // trim prefix
|
||||||
&format!(
|
&format!(
|
||||||
"valid until {} | auth: {}",
|
"valid until {} | auth: {}",
|
||||||
certificate
|
certificate
|
||||||
|
Loading…
x
Reference in New Issue
Block a user