[Bps-public-commit] rt-extension-resetpassword branch, new-user-create-password, repushed

Craig Kaiser craig at bestpractical.com
Thu Feb 13 15:58:22 EST 2020


The branch new-user-create-password was deleted and repushed:
       was 137eed98c27aae14345124fd1f0f053647eafa8a
       now 79f1a3957b0a3ba3a8b1dac6e9bedf3bec6aa875

1:  5d80792 ! 1:  65b32fc Move token generation and password reset to lib method
    @@ -25,7 +25,7 @@
     -                User  => $u,
     -            },
     -        );
    -+        my ($status, $msg) = RT::Extension::ResetPassword->CreateTokenAndResetPassword($u);
    ++        my ($status, $msg) = RT::Extension::ResetPassword::CreateTokenAndResetPassword($u);
      
              if ($status) {
                  push @actions, loc("RT has sent you an email message with instructions about how to reset your password");
    @@ -38,7 +38,6 @@
      our $VERSION = '1.04';
      
     +sub CreateTokenAndResetPassword {
    -+    my $self = shift;
     +    my $user = shift;
     +
     +    my $token = Digest::MD5->new()->add(
2:  9a3e58c < -:  ------- Config values for creating new users on password set when no user exists for email
3:  d4ac621 < -:  ------- Allow for password reset email to be sent on user create page
4:  137eed9 < -:  ------- Redirect to login page on password reset email success
-:  ------- > 2:  d10a07f Add config options for allowing a new user to create a account and password
-:  ------- > 3:  b84b53b Allow new users to create new user accounts and set password
-:  ------- > 4:  79f1a39 Allow for an admin to send a password reset email



More information about the Bps-public-commit mailing list