add a default login page which force saml authentification

This commit is contained in:
Jérôme Schneider 2013-04-30 19:34:14 +02:00
parent bacf7cc9ff
commit bf196f5d5d
1 changed files with 22 additions and 0 deletions

22
login.html Normal file
View File

@ -0,0 +1,22 @@
#HTTP_HEADER{Content-Type: text/html; charset=#CHARSET}
#HTTP_HEADER{"Cache-Control: no-store, no-cache, must-revalidate"}
#HTTP_HEADER{Pragma: no-cache}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="#LANG" lang="#LANG" dir="#LANG_DIR">
<head>
<title>[(#NOM_SITE_SPIP|textebrut)]</title>
<meta http-equiv="Content-Type" content="text/html; charset=#CHARSET" />
<meta name="robots" content="none" />
<meta name="generator" content="SPIP[ (#SPIP_VERSION)]" />
[<link rel="shortcut icon" href="(#CHEMIN{favicon.ico})" />]
</head>
<body>
<?php
global $simplesaml;
$SAML = true;
$simplesaml->requireAuth();
?>
</body>