From a5ce1c3c6b5c80b0842832d4980c4c4a0ba5c182 Mon Sep 17 00:00:00 2001 From: Timshel Date: Tue, 7 Jan 2025 17:31:48 +0100 Subject: [PATCH] Add verifiedDate to organizations::get_org_domain_sso_details --- src/api/core/organizations.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/api/core/organizations.rs b/src/api/core/organizations.rs index 6793b68b..0fd12602 100644 --- a/src/api/core/organizations.rs +++ b/src/api/core/organizations.rs @@ -807,7 +807,8 @@ async fn _get_org_details(org_id: &str, host: &str, user_uuid: &str, conn: &mut fn get_org_domain_sso_details() -> JsonResult { Ok(Json(json!({ "organizationIdentifier": "vaultwarden", - "ssoAvailable": CONFIG.sso_enabled() + "ssoAvailable": CONFIG.sso_enabled(), + "verifiedDate": crate::util::format_date(&chrono::Utc::now().naive_utc()), }))) }