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(),
Was this page helpful?