[Bps-public-commit] rt-extension-resetpassword branch, document-password-link-expiry-config, created. 1.04-33-g2277dd6

Dianne Skoll dianne at bestpractical.com
Fri Jan 15 11:06:37 EST 2021


The branch, document-password-link-expiry-config has been created
        at  2277dd68057e0d09d3f911683e9fc4a164a08413 (commit)

- Log -----------------------------------------------------------------
commit 2277dd68057e0d09d3f911683e9fc4a164a08413
Author: Dianne Skoll <dianne at bestpractical.com>
Date:   Fri Jan 15 11:04:18 2021 -0500

    Document PasswordChangeLinkExpirySeconds config value

diff --git a/README b/README
index 8e0926e..ac6ec9d 100644
--- a/README
+++ b/README
@@ -121,6 +121,11 @@ CONFIGURATION
         This is useful if you want only the password reset email option on
         the RT user admin page, but no self-service options.
 
+    $PasswordChangeLinkExpirySeconds
+        Set this config value to the time in seconds before a
+        password-change link expires. The default value is 4*60*60, meaning
+        that password-change links expire after four hours by default.
+
 AUTHOR
     Best Practical Solutions, LLC <modules at bestpractical.com>
 
diff --git a/lib/RT/Extension/ResetPassword.pm b/lib/RT/Extension/ResetPassword.pm
index f740163..95c5b7c 100644
--- a/lib/RT/Extension/ResetPassword.pm
+++ b/lib/RT/Extension/ResetPassword.pm
@@ -192,6 +192,12 @@ to display on the login page.
 This is useful if you want only the password reset email option on the RT
 user admin page, but no self-service options.
 
+=item C<$PasswordChangeLinkExpirySeconds>
+
+Set this config value to the time in seconds before a password-change
+link expires.  The default value is 4*60*60, meaning that password-change
+links expire after four hours by default.
+
 =back
 
 =cut

-----------------------------------------------------------------------


More information about the Bps-public-commit mailing list