Laravel Suspend User | Ban User in Laravel | Disable use in laravel | Laravel user login disable

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 10

  • @maulik882
    @maulik882 Год назад +1

    Thank i was looking something similar. i want to ban ips from admin panel like if someone spamming or try to ddos or something like this from admin panel we can block ips, ip range, with reason

  • @najmulahad9424
    @najmulahad9424 Год назад +1

    Sir can we get the Error message as Pop-Up message.

  • @ZaidShahid777
    @ZaidShahid777 3 года назад

    But when did you apply the checkbanned Middleware on route?

    • @TechToolIndia
      @TechToolIndia  3 года назад +4

      Hi Zaid,
      The Middleware is defined inside karnel.php web middleware group.
      Any Middleware you defined there will be applied on all routes defined in the web.php file.
      Thanks

    • @ZaidShahid777
      @ZaidShahid777 3 года назад

      @@TechToolIndia oh thanks , I didn't notice that

  • @AbderrahmanFodili
    @AbderrahmanFodili 2 года назад

    guys if this doesn't work try putting the middleware at the end of the web array not the start

  • @noureddineboumahdi255
    @noureddineboumahdi255 3 года назад

    thank you

  • @СибирскийТэстикок

    Thank you

    • @TechToolIndia
      @TechToolIndia  Год назад

      You're welcome,
      Please Subscribe to the channel.