fixed: Password recovery no longer allows disabled users to recover or log in

This commit is contained in:
Doug Bell 2008-06-05 18:25:24 +00:00
parent 70e50ca329
commit f87e32452a
4 changed files with 61 additions and 49 deletions

View file

@ -302,18 +302,6 @@ sub www_editProfileField {
-value=>ucfirst $data->{fieldType},
-defaultValue=>"Text",
);
my @profileForms = ();
foreach my $form ( sort @{ $fieldType->getTypes() }) {
next if $form eq 'DynamicField';
my $w = eval { WebGUI::Pluggable::instanciate("WebGUI::Form::".$form, "new", [$session]) };
if ($@) {
$session->errorHandler->error($@);
next;
}
push @profileForms, $form if $w->isDynamicCompatible();
}
$fieldType->set("types", \@profileForms);
$f->raw($fieldType->toHtmlWithWrapper());
$f->textarea(
-name => "possibleValues",