Merge branch 'whmcs-login' into whmcs-login-saas
This commit is contained in:
commit
83dbc789af
|
@ -84,7 +84,7 @@ class WHMCS_Auth_Adapter implements Zend_Auth_Adapter_Interface {
|
||||||
}
|
}
|
||||||
|
|
||||||
function authenticate() {
|
function authenticate() {
|
||||||
list($credentialsValid, $clientId) = $this->validateCredentialsWithWHMCS($this->email, $this->password))
|
list($credentialsValid, $clientId) = $this->validateCredentialsWithWHMCS($this->email, $this->password);
|
||||||
if (!$credentialsValid)
|
if (!$credentialsValid)
|
||||||
{
|
{
|
||||||
return new Zend_Auth_Result(Zend_Auth_Result::FAILURE_CREDENTIAL_INVALID, null);
|
return new Zend_Auth_Result(Zend_Auth_Result::FAILURE_CREDENTIAL_INVALID, null);
|
||||||
|
|
Loading…
Reference in New Issue