debug
This commit is contained in:
parent
569d594c82
commit
bec9fb957a
|
@ -59,7 +59,10 @@
|
|||
|
||||
/* (3) Gestion de AUTH en fonction du token
|
||||
---------------------------------------------------------*/
|
||||
$GLOBALS['TOKEN'] = preg_match('/^[a-f0-9]{64}$/', $GLOBALS['TOKEN'], $match) ? $match[0] : null;
|
||||
if( preg_match('/^[a-f0-9]{64}$/', $GLOBALS['TOKEN'], $match) )
|
||||
$GLOBALS['TOKEN'] = $match[0];
|
||||
else
|
||||
$GLOBALS['TOKEN'] = null;
|
||||
|
||||
/* (4) On vérifie l'authentification par BDD
|
||||
---------------------------------------------------------*/
|
||||
|
|
Loading…
Reference in New Issue