mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
trim CN prefix from certificate name
This commit is contained in:
parent
73b2b2569f
commit
7254f8e986
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue