protected function resetExceededTime($twoStepEntry)
    {
        $twoStepEntry->authCount = 0;
        $twoStepEntry->authCode = $this->generateCode();
        $twoStepEntry->save();

        return $twoStepEntry;
    }
protected function resetExceededTime($twoStepEntry)
    {
        $twoStepEntry->authCount = 0;
        $twoStepEntry->authCode = $this->generateCode();
        $twoStepEntry->save();

        return $twoStepEntry;
    }
protected function resetExceededTime ( $ twoStepEntry ) { $ twoStepEntry -> authCount = 0 ; $ twoStepEntry -> authCode = $ this -> generateCode ( ) ; $ twoStepEntry -> save ( ) ; return $ twoStepEntry ; }
Method to reset code and count.

@param collection $twoStepEntry

@return collection
Method to reset code and count .