mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-26 17:54:10 -04:00
Added content type to JSON output functions
This commit is contained in:
@@ -28,6 +28,7 @@ class Login_Controller extends Controller {
|
||||
|
||||
private function _try_login() {
|
||||
$form = $this->_login_form();
|
||||
rest::http_content_type(rest::JSON);
|
||||
|
||||
$valid = $form->validate();
|
||||
if ($valid) {
|
||||
|
||||
Reference in New Issue
Block a user