Laravel Admin And User Login ~ Laravel 10 Multi Auth System ~ Separate Login For User and Admin

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

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

  • @tntcode2210
    @tntcode2210 4 месяца назад

    Hi , very nice tutorial. But how to make function to log out Admin? Thx

  • @kooyaw4445
    @kooyaw4445 8 месяцев назад

    Awesome tutorial bro. Would appreciate if you can update it with a logout for admin please

  • @MuhammadAslam-dx9dp
    @MuhammadAslam-dx9dp Год назад +5

    after doing each and every step i have got an error in admin/login after posting
    Call to undefined cast [hashed] on column [password] in model [App\Models\Admin].
    please help

    • @ahsansher58
      @ahsansher58 2 месяца назад

      You have to use the import statement of hash , Like we use the path for the models in the controller

    • @MuhammadAslam-dx9dp
      @MuhammadAslam-dx9dp 2 месяца назад +1

      @ahsansher58 its been 10 month and now i think i am a little bit professional now

  • @techedu469
    @techedu469 8 месяцев назад

    too informative content
    its very helpful for me

  • @ytnitinrawat
    @ytnitinrawat 8 месяцев назад

    Love your work, Sir❤❤❤❤

  • @abdullayev09me
    @abdullayev09me 6 месяцев назад

    Does this method work even if I write manager instead of admin?

  • @sirinberhus7364
    @sirinberhus7364 Месяц назад

    Hey, where is your blog link?

  • @nextprogram5945
    @nextprogram5945 9 месяцев назад

    Goated tutorial thank you so much :D

    • @asibur
      @asibur  9 месяцев назад

      Glad it helped!

  • @LuisGustavo-hr7tu
    @LuisGustavo-hr7tu 10 месяцев назад

    My problem is When admin/login with the corrects credentials…. not found. How to resolve?

    • @asibur
      @asibur  10 месяцев назад

      Add a record in admins table

  • @knightrider3668
    @knightrider3668 9 месяцев назад

    after session expires, the admin page will logout and redirect to the /login route instead of /admin/login route. How do I correct it pls?

    • @asibur
      @asibur  9 месяцев назад +1

      In AuthenticatedSessionController file in AdminAuth folder, change the route in destroy method

    • @obedvictor3118
      @obedvictor3118 9 месяцев назад +1

      did that and it is still same public function destroy(Request $request): RedirectResponse
      {
      Auth::guard('admin')->logout();
      $request->session()->invalidate();
      $request->session()->regenerateToken();
      return redirect('admin.login');
      }
      }
      @@asibur

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

    thankss alott sirrr, may you bless happines. again thankyouuu

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

    Thank you, it has helped me a lot.

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

      you are welcome

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

      @@asibur help me please, i did same as video, but when i go to /admin/dashboard it redirects to login page not /admin/login . What's wrong with auth:admin

  • @technicallearning6060
    @technicallearning6060 3 месяца назад

    Where website link sir

  • @anfeldella6363
    @anfeldella6363 8 месяцев назад

    the designe of this pages can it be changed ?

    • @asibur
      @asibur  8 месяцев назад

      yes

  • @emmanuelgottoh7351
    @emmanuelgottoh7351 3 месяца назад

    the web site does not work

  • @tvjklove4556
    @tvjklove4556 4 месяца назад +1

    can you share this source code ?

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

    how can i make log out the admin?

  • @slammer-vs5gr
    @slammer-vs5gr Год назад

    how to create register for admin i mean view page
    pls help

  • @kylecandelario6853
    @kylecandelario6853 7 месяцев назад

    there is no RouteServiceProvider in the providers folder

    • @asibur
      @asibur  7 месяцев назад

      use laravel 10 to follow this video. thanks

    • @ronnakornruengjunlapat5706
      @ronnakornruengjunlapat5706 7 месяцев назад

      @@asibur laravel 11 not have RouteServiceProvider

    • @asibur
      @asibur  7 месяцев назад +1

      @@ronnakornruengjunlapat5706 this video is recorded for laravel version 10 not 11

  • @lahirusujith5435
    @lahirusujith5435 8 месяцев назад

    Thank you.

  • @RizwanKhan-yn9yb
    @RizwanKhan-yn9yb Год назад

    email verification is not working in guard:agent and guard:admin please help

  • @ASTechEdu
    @ASTechEdu 9 месяцев назад

    Thanks

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

    I'm not succes

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

      what problem u facing

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

    thannkss

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

      you are welcome

    • @user-jg1gr4nw8s
      @user-jg1gr4nw8s Год назад

      ​@@asibur sir admin password wrong show krva Ra JB k Password b okk hai

  • @GLITCHyy77
    @GLITCHyy77 3 месяца назад

    can u repost the source code pls ?

  • @danieljosh-ep5zg
    @danieljosh-ep5zg 9 месяцев назад

    How can i logout from admin