cli support clearing users 2fa methods

This commit is contained in:
mbecker20
2025-12-10 20:43:30 -08:00
committed by Maxwell Becker
parent 5ba96a58e4
commit c3626e0949
3 changed files with 53 additions and 0 deletions

View File

@@ -83,4 +83,10 @@ pub enum UpdateUserCommand {
#[arg(long, short = 'y', default_value_t = false)]
yes: bool,
},
/// Clears user 2fa factors in case user loses access to them.
Clear2fa {
/// Always continue on user confirmation prompts.
#[arg(long, short = 'y', default_value_t = false)]
yes: bool,
},
}