forked from GNUsocial/gnu-social
Fixed #1140; Login form session token not set.
This commit is contained in:
parent
4090471ebe
commit
4ced74dc91
@ -78,6 +78,7 @@ class LoginAction extends Action
|
||||
} else if ($_SERVER['REQUEST_METHOD'] == 'POST') {
|
||||
$this->checkLogin();
|
||||
} else {
|
||||
common_ensure_session();
|
||||
$this->showForm();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user