Only allow GET and POST HTTP request and die otherwise.
[Project_webapp.git] / login.php
index 89b3b2d468f972a37961dc32c1badba389c340f1..e976fc9a3dc14a597f052234effa54b17156efa2 100644 (file)
--- a/login.php
+++ b/login.php
@@ -1,4 +1,5 @@
-<form action="action.php" 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>