title: Laravel 5 athentication in subdomain is not working
body: <p>I am using a subdomain in my laravel 5 project but when I try to loggin a user, it won't authenticate anymore. This is my <code>config\session.php</code></p>
  
  <pre><code>return [
  'driver' =&gt; env('SESSION_DRIVER', 'database'),
  'lifetime' =&gt; 120,
  'expire_on_close' =&gt; false,
  'encrypt' =&gt; true,
  'files' =&gt; storage_path('framework/sessions'),
  'connection' =&gt; null,
  'table' =&gt; 'sessions',
  'lottery' =&gt; [2, 100],
  'cookie' =&gt; 'laravel_session',
  'path' =&gt; '/',
  'domain' =&gt; '.stagedevelopment.dev',
  'secure' =&gt; false,
  'http_only' =&gt; true,
  ];
  </code></pre>
  
  <p>my <code>routes.php</code> </p>
  
  <pre><code>Route::group([ 'prefix' =&gt; 'app', 'middleware' =&gt; 'auth' ], function() {
         ... some codes ....
      Route::group(['domain' =&gt; '{account_alias}.'.stagedevelopment.dev'], function () {
                      Route::get('dashboard', 'DashController@index');
  </code></pre>
  
  <p>this is on the '<code>DashController@index</code>' on <code>DashController.php</code></p>
  
  <pre><code>public function index(Request $request, $account_alias = null){
     if ( Auth::user()){
      // CODES TO CALL THE VIEW
     }
  }
  </code></pre>
  
  <p>but when signing in, it won't redirect on it. this make me issue. I also check by <code>var_dump(Auth::user())</code> but it returns <code>null</code> value but I tried <code>var_dump($request-&gt;session()-&gt;get('uid'))</code> it returns the <code>user_id</code> of the user who is trying to authenticate. </p>
  
  <p>my question is, did I missed something? I just want the user to be authenticated to be in the <code>Auth::user()</code>. please help me with this. any help will be appreciated. thank you in advance.</p>
  
  <p>by the way, this is my code for loggin a user</p>
  
  <pre><code>public function postSignIn( Request $request) {
          $rules = array(
              'email' =&gt; 'required|email',
              'password' =&gt; 'required',
          );
          $validator = Validator::make( Input::all(), $rules );
          if ( $validator-&gt;passes() ){
              $remember = ( !is_null( $request-&gt;get('remember')) ? true : false );
              if ( Auth::attempt( array( 'email' =&gt; $request-&gt;input('email'), 'password' =&gt; $request-&gt;input('password') ) ) ){
                  if ( Auth::check() ){
                          $account = \App\Account::where( 'alias', 'LIKE', Auth::user()-&gt;account-&gt;alias )-&gt;get();
                          if($account-&gt;count() &gt; 0){
                              return Redirect::to('http://'. Auth::user()-&gt;account-&gt;alias.'.stagedevelopment.dev/app/dashboard');
                          }
                  }
              }
          }
      }
  </code></pre>