title: Make Laravel 5 registration a task for existing users
body: <p>I'd like to reconfigure the default Laravel registration method so that only an existing user can register new users. However, I'm not sure how to reconfigure my AuthController so that the getRegister function does not automatically redirect to /Home when a user is already logged in. </p>
  
  <p>Ideally, a user should be able to log in, hit a "Register New User" link, and then use the usual register user form. When completed, it should insert the new user credentials but then redirect them to their home page without changing their user session status at all. </p>
  
  <p>It seems like it should just be an extra line or two in the Auth controller to disable the registration method's redirects, but I can't seem to figure it out from the Laravel docs. Can anyone help me out?</p>
  
  <pre><code>&lt;?php namespace App\Http\Controllers\Auth;
  
  use App\Http\Controllers\Controller;
  use Illuminate\Contracts\Auth\Guard;
  use Illuminate\Contracts\Auth\Registrar;
  use Illuminate\Foundation\Auth\AuthenticatesAndRegistersUsers;
  
  class AuthController extends Controller {
  
      /*
      |--------------------------------------------------------------------------
      | Registration &amp; Login Controller
      |--------------------------------------------------------------------------
      |
      | This controller handles the registration of new users, as well as the
      | authentication of existing users. By default, this controller uses
      | a simple trait to add these behaviors. Why don't you explore it?
      |
      */
  
      use AuthenticatesAndRegistersUsers;
  
      /**
       * Create a new authentication controller instance.
       *
       * @param  \Illuminate\Contracts\Auth\Guard  $auth
       * @param  \Illuminate\Contracts\Auth\Registrar  $registrar
       * @return void
       */
      public function __construct(Guard $auth, Registrar $registrar)
      {
          $this-&gt;auth = $auth;
          $this-&gt;registrar = $registrar;
  
          $this-&gt;middleware('guest', ['except' =&gt; 'getLogout']);
      }
  
          public function getRegister() {
              $this-&gt;middleware('auth');
              parent::getRegister();
          }
  
          public function postRegister() {
              return redirect('/');
          }
  
  }
  </code></pre>