diff --git a/src/lib/Hydra/Controller/Admin.pm b/src/lib/Hydra/Controller/Admin.pm index a0aa6481..d0fba860 100644 --- a/src/lib/Hydra/Controller/Admin.pm +++ b/src/lib/Hydra/Controller/Admin.pm @@ -72,8 +72,6 @@ sub updateUser { my $emailonerror = trim $c->request->params->{"emailonerror"}; my $roles = $c->request->params->{"roles"} ; - error($c, "Invalid or empty username.") if $username eq ""; - $user->update( { fullname => $fullname , emailaddress => $emailaddress