mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 20:47:01 +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 {
|
} else {
|
||||||
writeln!(f, "backup_code: disabled")?;
|
writeln!(f, "backup_code: disabled")?;
|
||||||
}
|
}
|
||||||
if labels.is_empty() {
|
if !labels.is_empty() {
|
||||||
writeln!(f, "webauthn: no authenticators")
|
// We no longer show the deprecated security key case by default.
|
||||||
} else {
|
writeln!(f, " ⚠️ warning - security keys are deprecated.")?;
|
||||||
writeln!(f, "webauthn:")?;
|
writeln!(f, " ⚠️ you should re-enroll these to passkeys.")?;
|
||||||
|
writeln!(f, "security keys:")?;
|
||||||
for label in labels {
|
for label in labels {
|
||||||
writeln!(f, " * {}", label)?;
|
writeln!(f, " * {}", label)?;
|
||||||
}
|
}
|
||||||
write!(f, "")
|
write!(f, "")
|
||||||
|
} else {
|
||||||
|
write!(f, "")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue