Skip to content

Commit

Permalink
Allow password to be updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
pjcj committed Jan 7, 2011
1 parent 137e41b commit e423b99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/PF2K7/Controller/People.pm
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ sub status :Local :Args(0)
$self->validate_fields($c, $p, $errors, \@fields,
qw( name email town country motto1 motto2 ));

# push @fields, "password" if length $p->{password};
push @fields, "password" if length $p->{password};
my $user = $c->user->obj;
$user->update({ map { $_ => $p->{$_} } @fields });
$c->persist_user;
Expand Down

0 comments on commit e423b99

Please sign in to comment.