From f033e551e3c78da125384d03f186aa3f17a736ea Mon Sep 17 00:00:00 2001 From: janw Date: Tue, 12 Jul 2005 11:09:39 +0000 Subject: [PATCH] Only check uid if it was modified. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@946 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/personal/generic/class_user.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/personal/generic/class_user.inc b/plugins/personal/generic/class_user.inc index d1594a8a1..d09c80e0a 100644 --- a/plugins/personal/generic/class_user.inc +++ b/plugins/personal/generic/class_user.inc @@ -915,7 +915,7 @@ class user extends plugin } /* Check for valid input */ - if (!is_uid($this->uid)){ + if ($this->is_modified && !is_uid($this->uid)){ $message[]= _("The field 'Login' contains invalid characters. Lowercase, numbers and dashes are allowed."); } if (!is_url($this->labeledURI)){ -- 2.30.2