[Bps-public-commit] rt-extension-resetpassword branch, master, updated. 1.07-3-g0c7b0a8

Jim Brandt jbrandt at bestpractical.com
Mon Feb 8 11:33:14 EST 2021


The branch, master has been updated
       via  0c7b0a8d1b7c4a3ca85e71061921cee3d529bf13 (commit)
       via  cb1324532a547d63cc4ac17e68287bb6e9a7c7f8 (commit)
       via  2277dd68057e0d09d3f911683e9fc4a164a08413 (commit)
      from  6e2cc6cbc279eef42740e7b4e59288dd1f613902 (commit)

Summary of changes:
 Changes                           | 3 +++
 META.yml                          | 2 +-
 README                            | 5 +++++
 lib/RT/Extension/ResetPassword.pm | 8 +++++++-
 4 files changed, 16 insertions(+), 2 deletions(-)

- 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

commit cb1324532a547d63cc4ac17e68287bb6e9a7c7f8
Merge: 6e2cc6c 2277dd6
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Mon Feb 8 11:23:18 2021 -0500

    Merge branch 'document-password-link-expiry-config'


commit 0c7b0a8d1b7c4a3ca85e71061921cee3d529bf13
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Mon Feb 8 11:28:03 2021 -0500

    Prep 1.08 release

diff --git a/Changes b/Changes
index 2d5fb6d..e2dc798 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,8 @@
 Revision history for Perl module RT::Extension::ResetPassword
 
+1.08 2021-02-08
+ - Document new $PasswordChangeLinkExpirySeconds option added previously
+
 1.07 2020-12-17
  - Update styles for RT 5
  - Use SHA256 instead of MD5 to generate the token
diff --git a/META.yml b/META.yml
index d7337f3..2139d9c 100644
--- a/META.yml
+++ b/META.yml
@@ -24,6 +24,6 @@ requires:
   perl: 5.8.3
 resources:
   license: http://opensource.org/licenses/gpl-license.php
-version: '1.07'
+version: '1.08'
 x_module_install_rtx_version: '0.42'
 x_requires_rt: 4.0.0
diff --git a/lib/RT/Extension/ResetPassword.pm b/lib/RT/Extension/ResetPassword.pm
index fc77aec..18ea7da 100644
--- a/lib/RT/Extension/ResetPassword.pm
+++ b/lib/RT/Extension/ResetPassword.pm
@@ -5,7 +5,7 @@ use warnings;
 
 use Digest::SHA qw(sha256_hex);
 
-our $VERSION = '1.07';
+our $VERSION = '1.08';
 
 RT->AddStyleSheets("resetpassword.css");
 

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


More information about the Bps-public-commit mailing list