How to Check the User active status while login

I have used $table->boolean('active')->default(true); this on migration schema. and this , Toggle::make('active') ->onColor('success') ->offColor('danger') ->inline(),
1 Reply
Tieme
Tieme5mo ago
Do you cast you active to bool on model? Or do you mean that you want to know witch user are active at the moment, for that see https://laraveldaily.com/post/laravel-show-number-list-of-users-currently-online?