original_string: public function doTwoFactorAuthLogin($userId) {
  
          // Get the 2FA code
          $codeToInput = $this->getCodeToInput();
  
          // Update the user's database record wtih the 2FA code & timestamp
          $this->updateUserRecordWithTwoFactorAuthCode($codeToInput, $userId);
  
          // Put together the SMS message
          $message  = config('lasallecmsfrontend.site_name');
          $message .= ". Your two factor authorization login code is ";
          $message .= $codeToInput;
  
          $this->shortMessageService->sendSMS($this->getUserPhoneCountryCode($userId), $this->getUserPhoneNumber($userId), $message);
      }
code: public function doTwoFactorAuthLogin($userId) {
  
          // Get the 2FA code
          $codeToInput = $this->getCodeToInput();
  
          // Update the user's database record wtih the 2FA code & timestamp
          $this->updateUserRecordWithTwoFactorAuthCode($codeToInput, $userId);
  
          // Put together the SMS message
          $message  = config('lasallecmsfrontend.site_name');
          $message .= ". Your two factor authorization login code is ";
          $message .= $codeToInput;
  
          $this->shortMessageService->sendSMS($this->getUserPhoneCountryCode($userId), $this->getUserPhoneNumber($userId), $message);
      }
code_tokens: public function doTwoFactorAuthLogin ( $ userId ) { // Get the 2FA code $ codeToInput = $ this -> getCodeToInput ( ) ; // Update the user's database record wtih the 2FA code & timestamp $ this -> updateUserRecordWithTwoFactorAuthCode ( $ codeToInput , $ userId ) ; // Put together the SMS message $ message = config ( 'lasallecmsfrontend.site_name' ) ; $ message .= ". Your two factor authorization login code is " ; $ message .= $ codeToInput ; $ this -> shortMessageService -> sendSMS ( $ this -> getUserPhoneCountryCode ( $ userId ) , $ this -> getUserPhoneNumber ( $ userId ) , $ message ) ; }
docstring: Two Factor Authorization for the front-end LOGIN
  
  @param  int    $userId          User ID
  @return void
docstring_tokens: Two Factor Authorization for the front - end LOGIN