Follow-up Comment #1, bug #8124 (project galette):
J'ai trouvé un fix pour ce problème, dans index.php, mais je ne sais si ca
vous interressera, ni comment le publier dans SVN..
// Authentication procedure
*bold*//first check if logout is required
if ($_GET["logout"]=='1')
{
unset($_POST["ident"]);
$_SESSION["logged_status"]=0;
}*bold*
...
...
$resultat = &$DB->Execute($requete);
if (!$resultat->EOF &&
($resultat->fields[4] == $_POST["password"] ||
$resultat->fields[4] == md5($_POST["password"]))
)
{
if ($resultat->fields[1]=="1")
$_SESSION["admin_status"]=1;
*bold* else
$_SESSION["admin_status"]=0; *bold*
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?8124>
_______________________________________________
Message posté via/par Gna!
http://gna.org/