protected function resetActivationCountdown($twoStepAuth)
    {
        $twoStepAuth->authCode = $this->generateCode();
        $twoStepAuth->authCount = 0;
        $twoStepAuth->authStatus = 1;
        $twoStepAuth->authDate = Carbon::now();
        $twoStepAuth->requestDate = null;

        $twoStepAuth->save();
    }
protected function resetActivationCountdown($twoStepAuth)
    {
        $twoStepAuth->authCode = $this->generateCode();
        $twoStepAuth->authCount = 0;
        $twoStepAuth->authStatus = 1;
        $twoStepAuth->authDate = Carbon::now();
        $twoStepAuth->requestDate = null;

        $twoStepAuth->save();
    }
protected function resetActivationCountdown ( $ twoStepAuth ) { $ twoStepAuth -> authCode = $ this -> generateCode ( ) ; $ twoStepAuth -> authCount = 0 ; $ twoStepAuth -> authStatus = 1 ; $ twoStepAuth -> authDate = Carbon :: now ( ) ; $ twoStepAuth -> requestDate = null ; $ twoStepAuth -> save ( ) ; }
Successful activation actions.

@param collection $twoStepAuth

@return void
Successful activation actions .