do not check username, as you are not allowed to change it

This commit is contained in:
Rob Vermaas 2011-03-08 07:23:28 +00:00
parent c9929761bd
commit 92d547f4e5

View file

@ -72,8 +72,6 @@ sub updateUser {
my $emailonerror = trim $c->request->params->{"emailonerror"}; my $emailonerror = trim $c->request->params->{"emailonerror"};
my $roles = $c->request->params->{"roles"} ; my $roles = $c->request->params->{"roles"} ;
error($c, "Invalid or empty username.") if $username eq "";
$user->update( $user->update(
{ fullname => $fullname { fullname => $fullname
, emailaddress => $emailaddress , emailaddress => $emailaddress