From 34aa8b79426757831c7d72060d9fdb1b7dfd8176 Mon Sep 17 00:00:00 2001
From: Mike McKay <mfmckay@wustl.edu>
Date: Mon, 30 May 2016 11:12:00 -0500
Subject: [PATCH] XNAT-4091 Got password history duration working.

---
 .../META-INF/xnat/spawner/site-admin-elements.yaml          | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/META-INF/xnat/spawner/site-admin-elements.yaml b/src/main/resources/META-INF/xnat/spawner/site-admin-elements.yaml
index 5f1b3a86..21aa07d6 100644
--- a/src/main/resources/META-INF/xnat/spawner/site-admin-elements.yaml
+++ b/src/main/resources/META-INF/xnat/spawner/site-admin-elements.yaml
@@ -385,11 +385,13 @@ passwords:
             name: passwordComplexityMessage
             label: Password Complexity Message
         passwordHistoryDuration:
-            kind: panel.input.number
+            kind: panel.input.text
             id: passwordHistoryDuration
             name: passwordHistoryDuration
             label: Password History (Duration)
-            description: "-1 to disable"
+            description: >
+              Interval for which users cannot reuse an old password of theirs. Uses
+              <a target="_blank" href="http://www.postgresql.org/docs/9.0/static/functions-datetime.html">PostgreSQL interval notation</a>
         passwordExpirationType:
             kind: panel.select.single
             id: passwordExpirationType
-- 
GitLab