vendredi 29 mars 2019

How setting laravel-websockets url under /admin to protect it?

Using beyondcode/laravel-websockets packege I can modify config option

'path' => ‘admin/laravel-websockets’ 

to run it under admin, but how to protected access to it to logged user with admin rights, as in my routes/web.php I have group :

Route::group(['middleware' => ['auth', 'isVerified', 'CheckUserStatus'], 'prefix' => 'admin', 'as' => 'admin.'], function () {

Thanks!



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2UZtC1M
via IFTTT

Aucun commentaire:

Enregistrer un commentaire