forked from lix-project/hydra
do not check username, as you are not allowed to change it
This commit is contained in:
parent
c9929761bd
commit
92d547f4e5
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue