original_string: public function doTwoFactorAuthRegistration($data) {
  
          // Get the 2FA code
          $codeToInput = $this->getCodeToInput();
  
          // Set this 2FA code into a session variable, since
          // this is the only opportunity to so save the ephemerally generated 2FA
          $this->request->session()->put('codeToInput', $codeToInput);
  
  
          // Put together the SMS message
          $message  = config('lasallecmsfrontend.site_name');
          $message .= ". Your two factor authorization login code is ";
          $message .= $codeToInput;
  
  
          $this->shortMessageService->sendSMS($data['phone_country_code'], $data['phone_number'], $message);
      }
code: public function doTwoFactorAuthRegistration($data) {
  
          // Get the 2FA code
          $codeToInput = $this->getCodeToInput();
  
          // Set this 2FA code into a session variable, since
          // this is the only opportunity to so save the ephemerally generated 2FA
          $this->request->session()->put('codeToInput', $codeToInput);
  
  
          // Put together the SMS message
          $message  = config('lasallecmsfrontend.site_name');
          $message .= ". Your two factor authorization login code is ";
          $message .= $codeToInput;
  
  
          $this->shortMessageService->sendSMS($data['phone_country_code'], $data['phone_number'], $message);
      }
code_tokens: public function doTwoFactorAuthRegistration ( $ data ) { // Get the 2FA code $ codeToInput = $ this -> getCodeToInput ( ) ; // Set this 2FA code into a session variable, since // this is the only opportunity to so save the ephemerally generated 2FA $ this -> request -> session ( ) -> put ( 'codeToInput' , $ codeToInput ) ; // Put together the SMS message $ message = config ( 'lasallecmsfrontend.site_name' ) ; $ message .= ". Your two factor authorization login code is " ; $ message .= $ codeToInput ; $ this -> shortMessageService -> sendSMS ( $ data [ 'phone_country_code' ] , $ data [ 'phone_number' ] , $ message ) ; }
docstring: Two Factor Authorization for the front-end REGISTRATION
  
  @param  array    $data
  @return void
docstring_tokens: Two Factor Authorization for the front - end REGISTRATION