* [bug#63529,done,0.1h] Make the mandatory prompt information clear and add mandatory labels.
This commit is contained in:
@@ -523,7 +523,8 @@ class admin extends control
|
||||
{
|
||||
if(!empty($_POST))
|
||||
{
|
||||
if(!$this->post->mobile || !$this->post->code) return $this->send(array('result' => 'fail', 'message' => $this->lang->admin->register->loginFailedNoInfo));
|
||||
if(!$this->post->mobile) return $this->send(array('result' => 'fail', 'message' => $this->lang->admin->register->loginFailedMobile));
|
||||
if(!$this->post->code) return $this->send(array('result' => 'fail', 'message' => $this->lang->admin->register->loginFailedCode));
|
||||
|
||||
$apiRoot = $this->config->admin->register->apiRoot;
|
||||
$sessionVar = $this->config->sessionVar;
|
||||
|
||||
Reference in New Issue
Block a user