original_string: public function activate(Request $request)
      {
          if (!$email = $request->get('email')) {
              $email = null;
          }
  
          if (!$code = $request->get('code')) {
              $code = null;
          }
  
          if (!config('laraflock.dashboard.activations')) {
              Flash::error(trans('dashboard::dashboard.flash.activation.not_active'));
  
              return redirect()->route('auth.login');
          }
  
          return $this->view('auth.activate')->with(['email' => $email, 'code' => $code]);
      }
code: public function activate(Request $request)
      {
          if (!$email = $request->get('email')) {
              $email = null;
          }
  
          if (!$code = $request->get('code')) {
              $code = null;
          }
  
          if (!config('laraflock.dashboard.activations')) {
              Flash::error(trans('dashboard::dashboard.flash.activation.not_active'));
  
              return redirect()->route('auth.login');
          }
  
          return $this->view('auth.activate')->with(['email' => $email, 'code' => $code]);
      }
code_tokens: public function activate ( Request $ request ) { if ( ! $ email = $ request -> get ( 'email' ) ) { $ email = null ; } if ( ! $ code = $ request -> get ( 'code' ) ) { $ code = null ; } if ( ! config ( 'laraflock.dashboard.activations' ) ) { Flash :: error ( trans ( 'dashboard::dashboard.flash.activation.not_active' ) ) ; return redirect ( ) -> route ( 'auth.login' ) ; } return $ this -> view ( 'auth.activate' ) -> with ( [ 'email' => $ email , 'code' => $ code ] ) ; }
docstring: Display activate screen.
  
  @param \Illuminate\Http\Request $request
  
  @return $this|\Illuminate\Http\RedirectResponse
docstring_tokens: Display activate screen .