fix: Password Recovery error message now displays properly
This commit is contained in:
parent
3f25d25b55
commit
ec84e481b7
2 changed files with 13 additions and 8 deletions
|
|
@ -3,6 +3,7 @@
|
||||||
- prevent groups being created with duplicate names
|
- prevent groups being created with duplicate names
|
||||||
- fix: Version Tags->Manage Committed Versions Not Working
|
- fix: Version Tags->Manage Committed Versions Not Working
|
||||||
http://www.webgui.org/bugs/tracker/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
|
7.4.1
|
||||||
- fix: crons wouldn't load into spectre's queue at startup.
|
- fix: crons wouldn't load into spectre's queue at startup.
|
||||||
|
|
|
||||||
|
|
@ -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
|
=cut
|
||||||
|
|
||||||
|
|
@ -699,10 +701,10 @@ sub recoverPassword {
|
||||||
#$self->session->errorHandler->warn("recovery type: $type");
|
#$self->session->errorHandler->warn("recovery type: $type");
|
||||||
|
|
||||||
if ($type eq 'profile') {
|
if ($type eq 'profile') {
|
||||||
$self->profileRecoverPassword;
|
$self->profileRecoverPassword(@_);
|
||||||
}
|
}
|
||||||
elsif ($type eq 'email') {
|
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
|
=cut
|
||||||
|
|
||||||
|
|
@ -806,9 +810,9 @@ sub recoverPasswordFinish {
|
||||||
my $type = $self->getPasswordRecoveryType;
|
my $type = $self->getPasswordRecoveryType;
|
||||||
|
|
||||||
if ($type eq 'profile') {
|
if ($type eq 'profile') {
|
||||||
$self->profileRecoverPasswordFinish;
|
$self->profileRecoverPasswordFinish(@_);
|
||||||
} elsif ($type eq 'email') {
|
} elsif ($type eq 'email') {
|
||||||
$self->emailRecoverPasswordFinish;
|
$self->emailRecoverPasswordFinish(@_);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue