Browse Source

Fix titles

LaurentTreguier 9 years ago
parent
commit
dbb45bc88a
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      controllers/login.php

+ 4
- 1
controllers/login.php View File

@@ -17,10 +17,13 @@ function check_login()
17 17
     
18 18
     if($_POST["login"] != $identifiers[0] || $_POST["password"] != $identifiers[1])
19 19
     {
20
-        set("title", "Error");
20
+        set("title", "Erreur");
21 21
         set("error", true);
22 22
     } else
23
+    {
24
+        set("title", "Accueil");
23 25
         set("error", false);
26
+    }
24 27
     
25 28
     return html("login.html.php", "layout.html.php");
26 29
 }