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') {
|
} else if ($_SERVER['REQUEST_METHOD'] == 'POST') {
|
||||||
$this->checkLogin();
|
$this->checkLogin();
|
||||||
} else {
|
} else {
|
||||||
|
common_ensure_session();
|
||||||
$this->showForm();
|
$this->showForm();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user