fixed: Password recovery no longer allows disabled users to recover or log in
This commit is contained in:
parent
70e50ca329
commit
f87e32452a
4 changed files with 61 additions and 49 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue