Changes

m
Line 35: Line 35:  
       if (! isset($_SESSION["dol_login"]))
 
       if (! isset($_SESSION["dol_login"]))
 
       {
 
       {
         if (isset($_POST["username"]))
+
         // Set goontestloop to true if we are coming from a post of the login page ($_POST["username"] and $_POST["actionlogin"] is defined.
 +
        // We may also set goontestloop to true for some other cases depending on the authentication mode (see next chapter)
 +
        $goontestloop = ... 
 +
        if ($goontestloop)
 
         {
 
         {
 
           ...
 
           ...