]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fixed #1140; Login form session token not set.
authorSean Murphy <sgmurphy@gmail.com>
Thu, 5 Feb 2009 15:17:19 +0000 (10:17 -0500)
committerSean Murphy <sgmurphy@gmail.com>
Thu, 5 Feb 2009 15:17:19 +0000 (10:17 -0500)
actions/login.php

index 11cf1f02a6e77b9bea67664acde0977205e34a6d..7a3c6d3748435780c93e466008ad4c0fb8b401d6 100644 (file)
@@ -78,6 +78,7 @@ class LoginAction extends Action
         } else if ($_SERVER['REQUEST_METHOD'] == 'POST') {
             $this->checkLogin();
         } else {
+            common_ensure_session();
             $this->showForm();
         }
     }