summaryrefslogtreecommitdiff
path: root/actions/login.php
diff options
context:
space:
mode:
authorSean Murphy <sgmurphy@gmail.com>2009-02-05 10:17:19 -0500
committerSean Murphy <sgmurphy@gmail.com>2009-02-05 10:17:19 -0500
commit4ced74dc9105884fc05d4ab48e8d0162204f8c6a (patch)
tree0817c92be6a63a377dc6d76cfaf56e2c26c69a42 /actions/login.php
parent4090471ebec98654931c8f7b369495d093739541 (diff)
Fixed #1140; Login form session token not set.
Diffstat (limited to 'actions/login.php')
-rw-r--r--actions/login.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/actions/login.php b/actions/login.php
index 11cf1f02a..7a3c6d374 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();
}
}