Code

Updated login dialog error message
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 10 Aug 2006 10:31:59 +0000 (10:31 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 10 Aug 2006 10:31:59 +0000 (10:31 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4467 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/environment/class_logonManagementDialog.inc

index 3a16c65557d8498a6d65e5c746c6a962052bc5e8..12da92ef21f35af21113e80542a169e3a4f346a0 100644 (file)
@@ -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.");