Code

Fixed typo
[gosa.git] / gosa-core / html / index.php
index 99d5954528a9d2981b4ae7f42b20a692d0c0a5a5..577fc6e4bd288dc306ddabab6bdadcce7db8270d 100644 (file)
@@ -225,7 +225,7 @@ if ($config->get_cfg_value("htaccessAuthentication") == "true" ){
     exit;
   }
   if ($server == ""){
-    msg_dialog::display(_("Error"), _("User information is not unique accross the configured LDAP trees!"), FATAL_ERROR_DIALOG);
+    msg_dialog::display(_("Error"), _("User information is not unique across the configured LDAP trees!"), FATAL_ERROR_DIALOG);
     exit;
   }
 
@@ -321,7 +321,8 @@ if (($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST['login'])) || $htacces
       $message= _("Please check the username/password combination.");
       $smarty->assign ('nextfield', 'password');
       session::global_set('config',$config);
-      new log("security","login","",array(),"Authentication failed for user \"$username\"");
+      $ip= $_SERVERREMOTE_ADDR;
+      new log("security","login","",array(),"Authentication failed for user \"$username\" [from $ip]");
     } else {
       /* Remove all locks of this user */
       del_user_locks($ui->dn);