From ce61d5415a9e2e2a9fa9961df58d0fe13c718cf9 Mon Sep 17 00:00:00 2001 From: bunnie Date: Mon, 3 Jan 2022 19:19:38 +0800 Subject: [PATCH] change default order of login password policy for low-security logins --- services/root-keys/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/root-keys/src/main.rs b/services/root-keys/src/main.rs index 4f3b09417..e85192285 100644 --- a/services/root-keys/src/main.rs +++ b/services/root-keys/src/main.rs @@ -1025,8 +1025,8 @@ fn xmain() -> ! { Opcode::UxAesEnsureReturn.to_u32().unwrap() ); confirm_radiobox.is_password = true; - confirm_radiobox.add_item(ItemName::new(t!("rootkeys.policy_clear", xous::LANG))); confirm_radiobox.add_item(ItemName::new(t!("rootkeys.policy_suspend", xous::LANG))); + confirm_radiobox.add_item(ItemName::new(t!("rootkeys.policy_clear", xous::LANG))); confirm_radiobox.add_item(ItemName::new(t!("rootkeys.policy_keep", xous::LANG))); rootkeys_modal.modify( Some(ActionType::RadioButtons(confirm_radiobox)),