forked from lix-project/hydra
hydra: cannot change username, also update fullname
This commit is contained in:
parent
2bbbfd7a61
commit
c9929761bd
|
@ -75,8 +75,7 @@ sub updateUser {
|
||||||
error($c, "Invalid or empty username.") if $username eq "";
|
error($c, "Invalid or empty username.") if $username eq "";
|
||||||
|
|
||||||
$user->update(
|
$user->update(
|
||||||
{ username => $username
|
{ fullname => $fullname
|
||||||
, maxconcurrent => $fullname
|
|
||||||
, emailaddress => $emailaddress
|
, emailaddress => $emailaddress
|
||||||
, emailonerror => $emailonerror
|
, emailonerror => $emailonerror
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue