From: cajus Date: Thu, 10 Aug 2006 10:31:59 +0000 (+0000) Subject: Updated login dialog error message X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=116ccc540b19f280d3d23120df34070cd9691f16;p=gosa.git Updated login dialog error message git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4467 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/environment/class_logonManagementDialog.inc b/plugins/personal/environment/class_logonManagementDialog.inc index 3a16c6555..12da92ef2 100644 --- a/plugins/personal/environment/class_logonManagementDialog.inc +++ b/plugins/personal/environment/class_logonManagementDialog.inc @@ -100,9 +100,9 @@ class logonManagementDialog extends plugin /* Call common method to give check the hook */ $message= plugin::check(); - if(preg_match("/[^a-z]/",$this->LogonName)){ - $message[] = _("Specified name is invalid."); - } + if(preg_match("/[^a-zA-Z]/",$this->LogonName)){ + $message[] = _("Specified name should only consist of uper-/lowercase characters."); + } if(empty($this->LogonName)){ $message[] = _("Please specify a valid script name.");