Internal overhaul
This commit is contained in:
@@ -25,8 +25,8 @@ class Controller_User_Service extends Controller_Service {
|
||||
$amo = $so->plugin(isset($_REQUEST['t']) ? $_REQUEST['t'] : '');
|
||||
|
||||
$o = array(
|
||||
'u'=>$amo->username_value() ? $amo->username_value() : strtolower($amo->name()),
|
||||
'p'=>(! $k OR ! $this->request->is_ajax() OR ! $so->loaded() OR ! isset($_REQUEST['k']) OR $k != $_REQUEST['k']) ? Random::char() : $amo->password_value(),
|
||||
'u'=>$amo->username() ? $amo->username() : strtolower($amo->name()),
|
||||
'p'=>(! $k OR ! $this->request->is_ajax() OR ! $so->loaded() OR ! isset($_REQUEST['k']) OR $k != $_REQUEST['k']) ? Random::char() : $amo->password(),
|
||||
);
|
||||
|
||||
$this->response->headers('Content-Type','application/json');
|
||||
|
Reference in New Issue
Block a user