Skip to content

Commit

Permalink
Item13322: Broke the password hash routine
Browse files Browse the repository at this point in the history
By moving the onSave handler to after the -set's are applied, it has to
be passed the actual configuration entry, and not the query input.
  • Loading branch information
gac410 committed Mar 26, 2015
1 parent 05bdf5b commit 0e5ff6a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/lib/Foswiki/Configure/Wizards/Save.pm
Expand Up @@ -279,7 +279,9 @@ sub save {
if ( $spec && $spec->{ONSAVE} ) {
my $checker = Foswiki::Configure::Checker::loadChecker($spec);
if ( $checker && $checker->can('onSave') ) {
$checker->onSave( $reporter, $k, $v );
eval(
"\$checker->onSave( \$reporter, \$k, \$Foswiki::cfg$k )"
);
}
}
}
Expand Down

0 comments on commit 0e5ff6a

Please sign in to comment.