public function existsButNotConfirmed($input)
    {
        $given_identity = $input[$this->identity()];

        $account = $this->findByIdentity([$this->identity() => $given_identity]);

        if($account){

            $correctPassword = $this->checkPassword($account, $input);

            return (!$account->confirmed && $correctPassword);
        }
    }
public function existsButNotConfirmed($input)
    {
        $given_identity = $input[$this->identity()];

        $account = $this->findByIdentity([$this->identity() => $given_identity]);

        if($account){

            $correctPassword = $this->checkPassword($account, $input);

            return (!$account->confirmed && $correctPassword);
        }
    }
public function existsButNotConfirmed ( $ input ) { $ given_identity = $ input [ $ this -> identity ( ) ] ; $ account = $ this -> findByIdentity ( [ $ this -> identity ( ) => $ given_identity ] ) ; if ( $ account ) { $ correctPassword = $ this -> checkPassword ( $ account , $ input ) ; return ( ! $ account -> confirmed && $ correctPassword ) ; } }
Checks if the given credentials correponds to a user that exists but
is not confirmed

@param  array $credentials Array containing the credentials (email/username and password)

@return  boolean Exists and is not confirmed?
Checks if the given credentials correponds to a user that exists but is not confirmed