From: Sean Murphy Date: Thu, 5 Feb 2009 15:17:19 +0000 (-0500) Subject: Fixed #1140; Login form session token not set. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4ced74dc9105884fc05d4ab48e8d0162204f8c6a;p=quix0rs-gnu-social.git Fixed #1140; Login form session token not set. --- diff --git a/actions/login.php b/actions/login.php index 11cf1f02a6..7a3c6d3748 100644 --- a/actions/login.php +++ b/actions/login.php @@ -78,6 +78,7 @@ class LoginAction extends Action } else if ($_SERVER['REQUEST_METHOD'] == 'POST') { $this->checkLogin(); } else { + common_ensure_session(); $this->showForm(); } }