title: Event and listener not function?
body: <p>I want to create a first time user login to fill some details , after the user fill some details the second time he login won`t go back to the fill details page,.</p>
  
  <p>So I create a event to update Last_Login_at value Null become 1 so that the user will escape this part.</p>
  
  <p>Am I doing any wrong here?</p>
  
  <p>Events</p>
  
  <pre><code>&lt;?php
  
  namespace App\Events;
  
  use Illuminate\Broadcasting\Channel;
  use Illuminate\Broadcasting\InteractsWithSockets;
  use Illuminate\Broadcasting\PresenceChannel;
  use Illuminate\Broadcasting\PrivateChannel;
  use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
  use Illuminate\Foundation\Events\Dispatchable;
  use Illuminate\Queue\SerializesModels;
  
  class UserHaveStoreTheFormEvent
  {
      use Dispatchable, InteractsWithSockets, SerializesModels;
  
      public $user;
  
      /**
       * Create a new event instance.
       *
       * @param $user
       */
      public function __construct($user)
      {
          $this-&gt;user = $user;
      }
  
  }
  </code></pre>
  
  <p>Listener</p>
  
  <pre><code>&lt;?php
  
  namespace App\Listeners;
  use App\Events\UserHaveStoreTheFormEvent;
  use Illuminate\Contracts\Queue\ShouldQueue;
  use Illuminate\Queue\InteractsWithQueue;
  
  class WelcomeNewUser
  {
      /**
       * Create the event listener.
       *
       * @return void
       */
      public function __construct()
      {
          //
      }
  
      /**
       * Handle the event.
       *
       * @param  object  $event
       * @return void
       */
      public function handle($event)
      {
          $user = auth()-&gt;user();
          $user-&gt;last_login_at = 1;
          $user-&gt;save();
      }
  }
  </code></pre>
  
  <p>EventService</p>
  
  <pre><code>&lt;?php
  
  namespace App\Providers;
  
  use App\Events\UserHaveStoreTheFormEvent;
  use App\Listeners\WelcomeNewUser;
  use Illuminate\Auth\Events\Registered;
  use Illuminate\Auth\Listeners\SendEmailVerificationNotification;
  use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
  use Illuminate\Support\Facades\Event;
  
  class EventServiceProvider extends ServiceProvider
  {
      /**
       * The event listener mappings for the application.
       *
       * @var array
       */
      protected $listen = [
          [
              UserHaveStoreTheFormEvent::class =&gt;[
                  WelcomeNewUser::class,
              ],
          ],
          Registered::class =&gt; [
              SendEmailVerificationNotification::class,
          ],
  
      ];
  
      /**
       * Register any events for your application.
       *
       * @return void
       */
      public function boot()
      {
          parent::boot();
  
          //
      }
  }
  </code></pre>
  
  <p>controller</p>
  
  <pre><code>  public function store(StoreCustomerRequest $request)
      {
          $user = Customer::create($request-&gt;all());
  
          event(new UserHaveStoreTheFormEvent($user));
  
          return redirect()-&gt;route('admin.customers.index');
      }
  </code></pre>