diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index bf95780cd..f75c6762f 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -3,6 +3,7 @@ - prevent groups being created with duplicate names - fix: Version Tags->Manage Committed Versions Not Working http://www.webgui.org/bugs/tracker/version-tags-manage-committed-versions-not-working + - fix: Recover Password error messages not displaying 7.4.1 - fix: crons wouldn't load into spectre's queue at startup. diff --git a/lib/WebGUI/Auth/WebGUI.pm b/lib/WebGUI/Auth/WebGUI.pm index 5487d5362..82645fb25 100644 --- a/lib/WebGUI/Auth/WebGUI.pm +++ b/lib/WebGUI/Auth/WebGUI.pm @@ -683,9 +683,11 @@ sub new { #------------------------------------------------------------------- -=head2 recoverPassword ( ) +=head2 recoverPassword ( args ) -Initiates the password recovery process. Checks for recovery type, and then runs the appropriate method. +Initiates the password recovery process. Checks for recovery type, +and then runs the appropriate method. arguments to this sub are +passed directly to the approprate method. =cut @@ -699,10 +701,10 @@ sub recoverPassword { #$self->session->errorHandler->warn("recovery type: $type"); if ($type eq 'profile') { - $self->profileRecoverPassword; + $self->profileRecoverPassword(@_); } elsif ($type eq 'email') { - $self->emailRecoverPassword; + $self->emailRecoverPassword(@_); } } @@ -794,9 +796,11 @@ sub profileRecoverPassword { #------------------------------------------------------------------- -=head2 recoverPasswordFinish ( ) +=head2 recoverPasswordFinish ( args ) -Handles data for recovery of password. Gets password recovery type, and then runs the appropriate method. +Handles data for recovery of password. Gets password recovery type, +and then runs the appropriate method. Arguments are passed directly +to the appropriate method. =cut @@ -806,9 +810,9 @@ sub recoverPasswordFinish { my $type = $self->getPasswordRecoveryType; if ($type eq 'profile') { - $self->profileRecoverPasswordFinish; + $self->profileRecoverPasswordFinish(@_); } elsif ($type eq 'email') { - $self->emailRecoverPasswordFinish; + $self->emailRecoverPasswordFinish(@_); } }