From 27665b1f53a83e318e9ef28e8287b8e010cd70da Mon Sep 17 00:00:00 2001 From: Roman Ratiner Date: Wed, 29 Jan 2025 04:28:04 +0200 Subject: [PATCH] Rename Duo Labels In Admin --- src/api/core/two_factor/duo.rs | 4 ++-- src/config.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/api/core/two_factor/duo.rs b/src/api/core/two_factor/duo.rs index 1fe399b628..aa281ae753 100644 --- a/src/api/core/two_factor/duo.rs +++ b/src/api/core/two_factor/duo.rs @@ -26,8 +26,8 @@ pub fn routes() -> Vec { #[derive(Serialize, Deserialize)] struct DuoData { host: String, // Duo API hostname - ik: String, // integration key - sk: String, // secret key + ik: String, // client id + sk: String, // client secret } impl DuoData { diff --git a/src/config.rs b/src/config.rs index 853f7cfa52..09e6ac37b7 100644 --- a/src/config.rs +++ b/src/config.rs @@ -670,9 +670,9 @@ make_config! { _enable_duo: bool, true, def, true; /// Attempt to use deprecated iframe-based Traditional Prompt (Duo WebSDK 2) duo_use_iframe: bool, false, def, false; - /// Integration Key + /// Client Id duo_ikey: String, true, option; - /// Secret Key + /// Client Secret duo_skey: Pass, true, option; /// Host duo_host: String, true, option;