filtre mod_auth
This commit is contained in:
parent
d0f00d4a89
commit
dcf36bf384
@ -1,6 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
// Formulaire d'authentification simple
|
// Formulaire d'authentification simple
|
||||||
include_once('winlog_admin_conf.php');
|
include_once('winlog_admin_conf.php');
|
||||||
|
// on sort immédiatement si login.php est appelé sans les paramètres attendus
|
||||||
|
if ($mod_auth !="simple") {
|
||||||
|
header('Location: interdit.php');
|
||||||
|
exit();
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE HTML>
|
<!DOCTYPE HTML>
|
||||||
<html lang="fr">
|
<html lang="fr">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user