mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 12:37:00 +01:00
Fix use-reset-token command hint (#1639)
* Fix use-reset-token command hint running `kanidm person credential create-reset-token` prints out information how to do credential reset. This fixes the provided cli command. * Update book with use-reset-token * Update kanidm.rs on use-reset-token
This commit is contained in:
parent
cf77aac868
commit
8de3641614
|
@ -74,7 +74,7 @@ kanidm person credential create-reset-token demo_user --name idm_admin
|
|||
# ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
|
||||
#
|
||||
# This link: https://localhost:8443/ui/reset?token=8qDRG-AE1qC-zjjAT-0Fkd6
|
||||
# Or run this command: kanidm person credential use_reset_token 8qDRG-AE1qC-zjjAT-0Fkd6
|
||||
# Or run this command: kanidm person credential use-reset-token 8qDRG-AE1qC-zjjAT-0Fkd6
|
||||
```
|
||||
|
||||
If the user wishes you can direct them to `https://idm.mydomain.name/ui/reset` where they can
|
||||
|
|
|
@ -588,7 +588,7 @@ impl AccountCredential {
|
|||
println!();
|
||||
println!("This link: {}", url.as_str());
|
||||
println!(
|
||||
"Or run this command: kanidm person credential use_reset_token {}",
|
||||
"Or run this command: kanidm person credential use-reset-token {}",
|
||||
cuintent_token.token
|
||||
);
|
||||
println!();
|
||||
|
|
|
@ -160,7 +160,7 @@ pub struct AccountNamedTagPkOpt {
|
|||
}
|
||||
|
||||
#[derive(Debug, Args)]
|
||||
/// Command-line options for account credental use_reset_token
|
||||
/// Command-line options for account credental use-reset-token
|
||||
pub struct UseResetTokenOpt {
|
||||
#[clap(flatten)]
|
||||
copt: CommonOpt,
|
||||
|
|
Loading…
Reference in a new issue