Only allow GET and POST HTTP request and die otherwise.
[Project_webapp.git] / login.php
index f797a7eac23fbc25c1ba7eb15a1e2f4a061d00bf..e976fc9a3dc14a597f052234effa54b17156efa2 100644 (file)
--- a/login.php
+++ b/login.php
@@ -1,4 +1,5 @@
-<form action="index.php?form=login" method="post">
+<form action="index.php" method="post">
+ <input type="hidden" name="form" value="login" />
  <p>Email : <input type="text" name="email" /></p>
  <p>Mot de passe : <input type="text" name="password" /></p>
  <p><input type="submit" value="OK"></p>