From 92d547f4e54ed4ae03eee8bbabca70c4ff9c8ed0 Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Tue, 8 Mar 2011 07:23:28 +0000 Subject: [PATCH] do not check username, as you are not allowed to change it --- src/lib/Hydra/Controller/Admin.pm | 2 -- 1 file changed, 2 deletions(-) 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