mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 12:37:00 +01:00
Reword security keys (#1196)
This commit is contained in:
parent
880f090c25
commit
33b8fe0967
|
@ -655,14 +655,17 @@ impl fmt::Display for CredentialDetail {
|
|||
} else {
|
||||
writeln!(f, "backup_code: disabled")?;
|
||||
}
|
||||
if labels.is_empty() {
|
||||
writeln!(f, "webauthn: no authenticators")
|
||||
} else {
|
||||
writeln!(f, "webauthn:")?;
|
||||
if !labels.is_empty() {
|
||||
// We no longer show the deprecated security key case by default.
|
||||
writeln!(f, " ⚠️ warning - security keys are deprecated.")?;
|
||||
writeln!(f, " ⚠️ you should re-enroll these to passkeys.")?;
|
||||
writeln!(f, "security keys:")?;
|
||||
for label in labels {
|
||||
writeln!(f, " * {}", label)?;
|
||||
}
|
||||
write!(f, "")
|
||||
} else {
|
||||
write!(f, "")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue