mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-30 03:30:34 -04:00
Remove rest::JSON content type; it's causing lots of problems and it doesn't directly help since text/html works just as well for our JSON communications
This commit is contained in:
@@ -25,7 +25,6 @@ class Users_Controller extends REST_Controller {
|
||||
access::forbidden();
|
||||
}
|
||||
|
||||
rest::http_content_type(rest::JSON);
|
||||
$form = user::get_edit_form($user);
|
||||
$form->edit_user->password->rules("-required");
|
||||
if ($form->validate()) {
|
||||
|
||||
Reference in New Issue
Block a user