title: Laravel - Session store not set on request
body: <p>I recently created a new Laravel project and was following along the guide on Authentication. When I visit either my login or register route, I get the following error:</p>
  
  <pre><code>ErrorException in Request.php line 775:
  Session store not set on request. (View: C:\Users\Matthew\Documents\test\resources\views\auth\register.blade.php)
  </code></pre>
  
  <p>I haven't edited any core Laravel files, I've only created the views and added the routes to my routes.php file</p>
  
  <pre><code>// Authentication routes
  Route::get('auth/login', ['uses' =&gt; 'Auth\AuthController@getLogin', 'as' =&gt; 'login']);
  Route::post('auth/login', ['uses' =&gt; 'Auth\AuthController@postLogin', 'as' =&gt; 'login']);
  Route::get('auth/logout', ['uses' =&gt; 'Auth\AuthController@getLogout', 'as' =&gt; 'logout']);
  
  // Registration routes
  Route::get('auth/register', ['uses' =&gt; 'Auth\AuthController@getRegister', 'as' =&gt; 'register']);
  Route::post('auth/register', ['uses' =&gt; 'Auth\AuthController@postRegister', 'as' =&gt; 'login']);
  </code></pre>
  
  <p>I don't have much experience with Laravel, so please excuse my ignorance. I'm aware that there is <a href="https://stackoverflow.com/questions/33517763/laravel-session-store-not-set-on-request">another question</a> asking this same thing, but neither of the answers seem to work for me. Thanks for reading!</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>Here's my register.blade.php as requested.</p>
  
  <pre><code>@extends('partials.main')
  
  @section('title', 'Test | Register')
  
  @section('content')
      &lt;form method="POST" action="/auth/register"&gt;
          {!! csrf_field() !!}
          &lt;div class="ui input"&gt;
            &lt;input type="text" name="name" value="{{ old('name') }}" placeholder="Username"&gt;
          &lt;/div&gt;
          &lt;div class="ui input"&gt;
            &lt;input type="email" name="email" value="{{ old('email') }}" placeholder="Email"&gt;
          &lt;/div&gt;
          &lt;div class="ui input"&gt;
            &lt;input type="password" name="password" placeholder="Password"&gt;
          &lt;/div&gt;
          &lt;div class="ui input"&gt;
            &lt;input type="password" name="password_confirmation"placeholder="Confirm Password"&gt;
          &lt;/div&gt;
          &lt;div&gt;
              &lt;button class="ui primary button" type="submit"&gt;Register&lt;/button&gt;
          &lt;/div&gt;
      &lt;/form&gt;
  @endsection
  </code></pre>