public function handle(Login $event)
    {
        if (config('konekt.app_shell.disable.login_counter')) {
            return;
        }

        $event->user->last_login_at = Carbon::now();
        $event->user->login_count += 1;
        $event->user->save();
    }
public function handle(Login $event)
    {
        if (config('konekt.app_shell.disable.login_counter')) {
            return;
        }

        $event->user->last_login_at = Carbon::now();
        $event->user->login_count += 1;
        $event->user->save();
    }
public function handle ( Login $ event ) { if ( config ( 'konekt.app_shell.disable.login_counter' ) ) { return ; } $ event -> user -> last_login_at = Carbon :: now ( ) ; $ event -> user -> login_count += 1 ; $ event -> user -> save ( ) ; }
Updates user's login data

@param Login $event
Updates user s login data