index 9ee6532c779f6e20a429f09cc21d9ba8ed13a3ba..df32e69ea857864c9cb278cefa02afef3b14d365 100644 (file)
/* Bail out if we have login restrictions set, for security reasons
the message is the same than failed user/pw */
if (!$ui->loginAllowed()){
+ new log("security","login","",array(),"Login restriction for user \"$username\", login not permitted");
return (NULL);
}
/* Bail out if we have login restrictions set, for security reasons
the message is the same than failed user/pw */
if (!$ui->loginAllowed()){
+ new log("security","login","",array(),"Login restriction for user \"$username\", login not permitted");
return (NULL);
}
} else {
die("Invalid label specified: $label\n");
}
+
+ $path= preg_replace("/\[.*\]$/", "", $path);
}
// Non middle layout?