Internal rework pending editframe
This commit is contained in:
@@ -24,7 +24,7 @@ class Login extends Action
|
||||
$this->mode = 2; // MODE_FIELD
|
||||
// $this->action = 2; // ACTION_GOTO
|
||||
|
||||
$this->so->sendBaseline($this->so->client(),RED.'INVALID DETAILS, TRY AGAIN *00');
|
||||
$this->so->sendBaseline($this->so->co,RED.'INVALID DETAILS, TRY AGAIN *00');
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
@@ -33,7 +33,7 @@ class Login extends Action
|
||||
$this->uo = User::where('login',array_get($fielddata,0))->firstOrFail();
|
||||
|
||||
} catch (ModelNotFoundException $e) {
|
||||
$this->so->sendBaseline($this->so->client(),RED.'USER NOT FOUND, TRY AGAIN *00');
|
||||
$this->so->sendBaseline($this->so->co,RED.'USER NOT FOUND, TRY AGAIN *00');
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
@@ -41,7 +41,7 @@ class Login extends Action
|
||||
if ($this->uo->password != array_get($fielddata,1))
|
||||
{
|
||||
$this->uo = new User;
|
||||
$this->so->sendBaseline($this->so->client(),RED.'INVALID PASSWORD, TRY AGAIN *00');
|
||||
$this->so->sendBaseline($this->so->co,RED.'INVALID PASSWORD, TRY AGAIN *00');
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user