summaryrefslogtreecommitdiff
path: root/actions/login.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-02-05 12:04:06 -0500
committerEvan Prodromou <evan@controlyourself.ca>2009-02-05 12:04:06 -0500
commit7ea136ee1ba350a64b95cd86a386f3e0d0e339d8 (patch)
tree0535eb11056eaa414175bc3cba7f7f55f97d2d13 /actions/login.php
parent68a3139d0b86a2a716b24a481e677aa5d4699396 (diff)
parent4ced74dc9105884fc05d4ab48e8d0162204f8c6a (diff)
Merge branch '0.7.x' of git://gitorious.org/laconica/sgmurphy-clone into sgmurphy-clone/0.7.x
Conflicts: actions/avatarsettings.php
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 98cc8a855..71e467929 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();
}
}