Laravel 8 E-Commerce - Admin and User Authentication

Поделиться
HTML-код
  • Опубликовано: 3 ноя 2020
  • In this video I will talk about Admin and User Authentication.
    TOPIC DISCUSSED:
    Admin and User Authentication
    Jetstream Authentication
    Create Middleware
    Route Group
    Create Admin and User Dashboard Page
    Secure the Admin Route
    Create Admin and User Dashboard Link
    Create the Logout Link
    Your Queries -
    1.How to create admin and user authentication in laravel 8 e-commerce?
    2.How to use jetstream authentication in laravel 8?
    3.How to create middleware in laravel 8?
    4.How to create route group in laravel 8?
    5.How to secure admin route in laravel 8?
    6.How to create logout link in laravel 8?
    7.What are the steps for creating admin and user authentication in laravel 8 e-commerce?
    Note:-
    Please run the following command before running the application
    npm install && npm run dev
    Template Url:
    github.com/surfsidemedia/Lara...
    FOLLOW SURFSIDE MEDIA:
    / surfsidem
    / mediasurfside
    github.com/surfsidemedia
    / surfsidemedia
    #laravel #laravel8 #laravel8x
  • НаукаНаука

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

  • @yubervasquez
    @yubervasquez 3 года назад +5

    Hola, a todos, y gracias por el contenido
    min 33:30 aprox le faltó this a .closest
    ejemplo.
    @csrf
    Cerrar sesión

    Muchas gracias por tus tutoriales, saludos desde Perú

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

      A mi me funcionó sin el this.
      Que bueno ver a otro que habla español siguiendo este tutorial.

  • @roopacefrinz4
    @roopacefrinz4 3 года назад +1

    You are teaching every easy method..I am also a laravel developer.. I will definitely gonna try your method ..It wil take very few time and code to make admin registration form your method. I used to do it by creating $guard

  • @kerynwong1381
    @kerynwong1381 2 года назад +3

    if you are facing problem at time 9.36 click login button then you can try run command
    npm install
    npm run dev
    hope that can help you

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

    sir u have done a great Job! I'm looking forward to watching next video

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

    Alhmadulillah this part done.. Thnx a lot

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

    great job ... plz continue

  • @krazymina
    @krazymina 3 года назад +1

    Great job sir, thank you!

  • @pablomoras5358
    @pablomoras5358 3 года назад +2

    Great job sir, continue!

  • @manishamin4859
    @manishamin4859 3 года назад +1

    What are the extension you are using in Visual Studio Code for this project?

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

    This was a great series and I love it. But I have some confusion:
    1, Why not have the admin dashboard different like the way you did hospital appointment booking? Then users can stay on the website page why admin should go to a different dashboard with a different template for admin management!
    How can I do such pls? After login, if the user type is ADM it will go to the admin dashboard different not staying on the website.
    2, I was thinking if it will have something processing why submitting the form. It will give a better user experience to the application (Just like a dialog pop-up) after submitting it goes off and displays a success notification

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

    Next tutorial please..
    We're set for next lecture
    Thanks

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

    Thank you !!!!

  • @MuhammadIshaq-ms8sm
    @MuhammadIshaq-ms8sm 3 года назад

    You are the greate sir

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

    thankyou sir!

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

    Thank you Sir

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

    thanks for your wonderful tutorial video. let me ask some question about error & how to solve.
    3:38 POST error.
    1. why laravel responded POST error.
    2. How did you solve that problem?
    I didn't understand that part.
    please, give me advices. Thank you for your time.

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

    great work, but you shouldn't edit anything inside the vendor folder otherwise whenever you run composer update it will overwrite any of your changes when the files update.

  • @websolutionsexpert
    @websolutionsexpert 3 года назад +2

    Great job sir, thank you!
    You forgot this command line after installing jetstream : npm install && npm run dev"

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

      Please a question.. How it's done??
      I have an error because of that

    • @larvachannel7113
      @larvachannel7113 2 года назад +2

      @@lilasoscar6411 You can fix it
      run comand
      npm install
      npm run dev
      Done for me!

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

      Done for me, thank you!

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

      @@larvachannel7113 thank you so much

  • @Daily-digital
    @Daily-digital 3 года назад +1

    Good work so far....

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

    Please can you provide the link for the playlist? I can't find the first video

  • @YukselCELIK
    @YukselCELIK 3 года назад +18

    Thanks for this tutorial.. I think changing and writing code in framework Vendor files does not right solution.. Can we handle instead of code that you change in vendor/laravel?

    • @santrawebtech35
      @santrawebtech35 2 года назад +1

      sir i also add namespace in AttemptToAuthinticate page
      namespace Laravel\Fortify\Actions;
      Symfony\Component\ErrorHandler\Error\FatalError
      Namespace declaration statement has to be the very first statement or after any declare call in the script
      C:\laravel_project\ecommercelaravel\vendor\laravel\fortify\src\Actions\AttemptToAuthenticate.php:2

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

      @@santrawebtech35 We don't need to change anything in fortify vendor folder if we redirect both users to HOME page.

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

      Should be some other place were we could add the session for middleware, other than this it's absolutely useless code added there, which will be anyway flushed after package update.

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

    Thanks for beautefull tutorial fiends.
    ---> !!!!! In the workplace at the top right you have a button that collapses all folders and expands.

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

    Thanks 🙏

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

    THANK U

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

    Sir is it necessary to put , Because we already mention it in the form action

  • @two-zero
    @two-zero 2 года назад

    Thank you again bro for this tutorial.

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

    help me! Unable to locate a class or view for component [jet-validation-errors].

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

    Great video :) :) . But we shouldn't change vendor. Solution for this case: in FortifyServiceProvider.php file, we add below code. It will be put user type into session
    public function register(){
    $this->app->instance(LoginResponse::class, new class implements LoginResponse{
    public function toResponse(){
    session(['user_type' => Auth::user()->user_type]);
    return redirect()->route('home');
    }
    });
    }

  • @bluemoon6988
    @bluemoon6988 2 года назад +1

    When I login as Admin and click on dashboard. It is redirecting me to the login page. Why does it happen??

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

    does there any other way to overwrite the code in "fortify" package?

  • @abdulrahman-ej7me
    @abdulrahman-ej7me 3 года назад

    we can do this to not editing in vendor
    if (Auth::user()->utype == 'ADM') {
    return $next($request);
    } else {
    session()->flush();
    return redirect()->route('login');
    }
    and we can use button type="submit" in form

  • @devlaravel8871
    @devlaravel8871 3 года назад +10

    You forgot this command line after installing jetstream : npm install && npm run dev"

    • @SurfsideMedia
      @SurfsideMedia  3 года назад +2

      Yes, sorry for that

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

      @@SurfsideMedia sir please make video to restrict users login direct after registering otherwise waits for admin to approve them

    • @crick3570
      @crick3570 2 года назад +1

      @@SurfsideMedia after run npm still not working login and register

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

      @@crick3570 npm run dev

    • @kerynwong1381
      @kerynwong1381 2 года назад +1

      @@crick3570
      I also have the same problem and I've solved by using
      npm install
      npm run dev

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

    The GET method is not supported for this route. Supported methods: POST. How to solve this?

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

    AttempToAuthenticate.php is not in the project. How about Middleware\RedirectIfAuthenticated.php? Can you register 'ADM' session in there? Please help...

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

    sir why these error occured within AttemptToAuthenticate page
    Namespace declaration statement has to be the very first statement or after any declare call in the script

  • @adam192021
    @adam192021 3 года назад +1

    You can use instead of session: if( $request->user()->utype === 'ADM' )

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

      thank you! :D

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

    waiting next video

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

    can someone help me after i input the code for login then i run the project it says the Vite manifest not found at: laravelecommerce\public\build/manifest.json i don't know how to fix that.

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

    after I register or login is redirect to homepage not at dashboard page and there is not logout button for me to logout

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

    I run npm and npm run dev then I got this:
    added 765 packages, and audited 766 packages in 2m
    72 packages are looking for funding
    run `npm fund` for details
    found 0 vulnerabilities
    > dev
    > npm run development
    > development
    > mix
    'webpack' is not recognized as an internal or external command,
    operable program or batch file.
    When I click on the login, it shows an error, when I click on the register it also shows an error. I don't know what to do again.
    Pls help thank you.

  • @samershabraq8697
    @samershabraq8697 3 года назад +1

    Next tutorial plz :)

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

    nice, when next video?

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

    Thanks for the tutorial .
    I get an error when I run npm install ,what is the problem? the error is like that
    'npm' is not recognized as an internal or external command,
    operable program or batch file.

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

      first u need to install node js software and then try the command in project folder's command prompt. it worked for me.

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

    please how to slove
    Auth guard [:sanctum] is not defined.

  • @yashverma1896
    @yashverma1896 3 года назад +2

    For those who are facing this issue Route / is not defined after login from user or admin
    Make sure this is added in your web.php
    Route::get('/',HomeComponent::class)->name('/');

    • @mileidyaular3357
      @mileidyaular3357 3 года назад +1

      i do that but, i have this issue when I start the login Route [user/dashboard] not defined. (View: C:\xampp\htdocs\mitienda
      esources\views\layouts\base.blade.php)

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

      Same error please help
      Laravel 8

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

    nice

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

    Hi... I am a beginner to Laravel. Route::middleware(['auth.sanctum','verified','authAdmin'])->group(function(){
    Route::get('/admin/dashboard', AdminDashboardComponent::class)->name('admin.dashboard');
    }); When I used above code, an error comes. It says Target class [auth.sanctum] does not exist. When I used below code It is working properly. Route::group(['middleware'=>'authAdmin'],function(){
    Route::get('/admin/dashboard', AdminDashboardComponent::class)->name('admin.dashboard');
    }); What is the issue with my coding? Which code segment should I use? Thank you....

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

      I think you should be use Route::middleware(['auth.sanctum','verified','authadmin'])......... try it

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

    Sir, I have a problem after registering it redirects to the dashboard not found I have to manually go back to see the registration

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

    hi, but changing the code in vendor files is not right solution

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

    Sir I tried following the tutorial to the fullest but it still doesn't open admin page or authenticate users it considers all users as non admin... pls can u help ?

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

    Hello sir @auth @else not showing the login and register menu @endif without used @auth do show Login and register menu..why sir

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

    Next Tutorials please....

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

    The Mix manifest does not exist. (View: C:\xampp\htdocs\projectlaravel\ecommerce
    esources\views\layouts\guest.blade.php)
    I have an error when running this video clip. How do I fix it pls?

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

    Great video sir
    but i have this error Mix manifest not found at: C:\xampp\htdocs\Laravel\PenCalb\public\/mix-manifest.json.. i cant seem to find a way to solve it

  • @2000abdulaziz
    @2000abdulaziz 3 года назад

    Error
    Undefined class constant 'HOME' pls. help me about this error

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

    this video is wondered

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

    Sir when click in logout then error ocur and said the get method is not support

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

    The GET method is not supported for this route. Supported methods: POST.

  • @Kader-su8jr
    @Kader-su8jr 3 года назад +2

    Plz complete the project sir! Why have you stopped posting videos. I hope everything is fine.

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

    Bonjour Mr j'essai de réaliser votre Tuto mais je suis bloqué sur cette erreur : Appel à la méthode non définie Illuminate\Support\Facades\Auth::extend() lorsque je clic sur le tableau de bord du login
    avez-vous une solution pour moi ?
    Hello Mr I am trying to make your Tutorial but I am stuck on this error: Call to the undefined method Illuminate\Support\Facades\Auth::extend() when I click on the login dashboard
    do you have a solution for me?

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

    The Mix manifest does not exist.
    Missing Mix Manifest File
    Did you forget to run `npm ci && npm run dev`?
    Thank you for tutorial sir. But how solve this error?

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

    Now i am facing a issue , when i try to access admin dashboard after logged in with admin credentials its again redirect to login page , please guide me how to fix it

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

    sir i also add namespace in AttemptToAuthinticate page
    namespace Laravel\Fortify\Actions;

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

    New error menu navigation blade .php. Route not found exception ...
    Error come when login successful and redirects to /home page with this error.
    For both user and admin .... please give solution ....

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

    Thank you for tutorial. But how solve "
    Error exception
    Array_key_exists(): The first argument should be either a string or an integer"
    Thank you.

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

      for this error i rewrite the handle method of my middleware AuthAdmin as this:
      if(Auth::user()->utype === 'ADM') {
      session(['utype'=>'ADM']);
      return $next($request);
      } else {
      session()->flush();
      return redirect(route('login'));
      }
      return $next($request);
      }
      my app run nice but I will know if it is a good code
      Thank you

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

    trying to do
    Route::middleware(['auth:sanctum', 'verified','authadmin'])->group(function(){
    Route::get('/admin/dashboard',AdminDashboardComponent::class)->name('admin.dashboard');
    });
    i get the message below :
    array_key_exists(): The first argument should be either a string or an integer .
    What is hapend?

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

      You need a capital A in Admin. authAdmin

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

    good

  • @sujonmia3212
    @sujonmia3212 3 года назад +2

    please, this project complete video upload

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

    nead help
    Target class [vartfied] does not exist.?
    why?

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

    CSS and JS doesn't work anymore after adding authentication

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

    please give me a video on cart and checkout functions

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

    could semone pleasae help me I get this error : Target class [verifiedauthadmin] does not exist.
    I sepende more then 3 hours finding the solution but in vain

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

    Hey guys help, after adding Jetstream I cannot see it's dashboard when I run the project?

  • @nadscarim7519
    @nadscarim7519 3 года назад +3

    did you run npm install in in cmd?? i am having trouble Missing Mix Manifest File

    • @blessed-favored
      @blessed-favored 3 года назад

      Install npm and run npm run dev or npm run prod

    • @SurfsideMedia
      @SurfsideMedia  3 года назад +1

      Yes, Please run this command npm install && npm run dev

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

      @@SurfsideMedia I have an error when I start the page Route [user/dashboard] not defined. (View: C:\xampp\htdocs\mitienda
      esources\views\layouts\base.blade.php)

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

      Use below two
      npm install
      npm run production

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

    if(Auth::user()->utype ==='ADM')
    {
    session(['utype'=>'ADM']);
    return redirect(RouteServiceProvider::HOME);
    }
    else if(Auth::user()->utype ==='USR')
    {
    session(['utype'=>'ADM']);
    return redirect(RouteServiceProvider::HOME);
    } this code is not working at all in the attempttoautenticate file . The HOME is not being recognized. Do you know why?

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

      I got this very same problem. If you found a solution please share

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

    Class 'Laravel\Fortify\Actions\Auth' not found
    show this error

  • @versachLTE
    @versachLTE 3 года назад +3

    Great tutorial best i have seen,
    But please i have an error class "Laravel \Fortify\Action\Auth" not found. Please how do I go about it?

    • @goldencoin369
      @goldencoin369 3 года назад +1

      i have the same problem Error, Class 'Laravel\Fortify\Actions\Auth' not found

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

      @@goldencoin369 just write use Auth; as import

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

      @@creativeculture6119 unable to resolve with this also

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

      I have the same problem sir , please someone help

    • @5minutestech481
      @5minutestech481 2 года назад

      I have the same problem anyone there to fixed the problem

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

    admin/dashboard always redirecting to login page . why is that so?

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

    Getting error Undefined constant "App\Http\Middleware\session"

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

    can someone help me with this error:
    throw new Exception("Mix manifest not found at: {$manifestPath}");

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

    Symfony\Component\ErrorHandler\Error\FatalError
    Namespace declaration statement has to be the very first statement or after any declare call in the script
    C:\laravel_project\ecommercelaravel\vendor\laravel\fortify\src\Actions\AttemptToAuthenticate.php:2
    please solve that error

  • @ebonyandruth
    @ebonyandruth 3 года назад +1

    Good Tutorial so far, but definitely not meant for beginners.
    There are a couple of steps you skipped or forgot to include, which gives room for error.
    Nevertheless, thanks for putting in the effort to create these tutorials.

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

      Yes 2-3 error.....

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

      Can u solve menu navigation Blade.php.... route not found exception.. after success login redirects with error

  • @avinashpandey7307
    @avinashpandey7307 2 года назад +1

    Sir after making of login and register page i found a issue of the mix manifest does not exist ..if anyone can solve my problem

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

      I also have the same problem and I've solved by using
      npm install
      npm run dev

  • @HarjotSingh-yk8ky
    @HarjotSingh-yk8ky 3 года назад

    if someone ask where is auth code and how it works ?

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

    I have a problem with the code when logging in as an administrator, it gives me the error Class "Laravel\Fortify\Actions\Auth" not found I am following the steps in video number 3
    the line of code is
    if(Auth::user()->utype ==='ADM')
    {
    session(['utype'=>'ADM']);
    return redirect(RouteServiceProvider::HOME);

    }
    can you help me

  • @artemdeveloper7304
    @artemdeveloper7304 2 года назад +4

    Thank you for the lessons! I'm from Ukraine. Very cool videos. In Russian, there seem to be no such. Thanks. Like and subscribe from me!
    Спасабо за уроки! Я из Украины. Очень класные видео. На русском таких похоже нет. Спасибо. От меня лайк и подписка!

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

    how to make after admin login redirect to dashboard

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

    Where can i find the url of the template used in this course

  • @2000abdulaziz
    @2000abdulaziz 3 года назад

    thanks Risky Saputra Siahaan

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

    Class 'auth' not found (View: C:\xampp\htdocs\laravel8ecommerce
    esources\views\layouts\base.blade.php)
    please help

  • @matthewidungafa6046
    @matthewidungafa6046 3 года назад +2

    Hello sir, please i am getting this error "Missing Mix Manifest File", when clickig on the register or login link

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

      npm install
      npm run dev

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

      I also have the same problem and I've solved by using
      npm install
      npm run dev

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

    i can't link the file under resource folder for login and register. how to do?

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

      Watch the video again and please retry

  • @2000abdulaziz
    @2000abdulaziz 3 года назад +1

    this tuto is nice when i submit login i facing error like Class 'Illuminate\Auth\Middleware\Auth' not found

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

      add use Illuminate\Support\Facades\Auth; in class vendor\laravel\fortify\src\Actions\AttemptToAuthenticate

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

      I also have similar error class "Laravel \Fortify\Action\Auth" not found. Please how do I go about it?

  • @karansingh-jx8nc
    @karansingh-jx8nc Год назад

    css & js is not loading ... can please suggst me somthing

  • @HanganChight
    @HanganChight 3 года назад +2

    hi. thanks for the tutorials. i have an error like this:
    "Illuminate\Contracts\Container\BindingResolutionException"
    Target class [authadmin] does not exist. "
    and i think i get this errof from this code piece:
    Route::middleware(['auth:sanctum', 'verified', 'authadmin'])->group(function ()
    {
    Route::get('admin/dashboard', AdminDashboardComponent::class)->name('admin.dashboard');
    });
    can anyone help me with this? thanks.

    • @ebonyandruth
      @ebonyandruth 3 года назад +1

      use App\Http\Middleware\AuthAdmin;
      Route::middleware(['auth:sanctum', 'verified', AuthAdmin::class])->group(function ()
      {
      Route::get('admin/dashboard', AdminDashboardComponent::class)->name('admin.dashboard');
      });

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

      @@ebonyandruth ty i will try

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

      i also have this error . u can help me . thanks!

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

    @Surfside Media when i am trying to access the admin dashboard it is not redirecting to login page ??

    • @SurfsideMedia
      @SurfsideMedia  2 года назад +1

      Re-check the code in AuthAdmin Middleware file

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

      @@SurfsideMedia Code is same but when I click at Admin Dashboard. It is redirecting to the login page directly.

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

      ​@@bluemoon6988 check this line : if (session('utype') === 'ADM') {

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

    @Surfside Media I have an error when I start the page Route [user/dashboard] not defined. (View: C:\xampp\htdocs\mitienda
    esources\views\layouts\base.blade.php)

    • @SurfsideMedia
      @SurfsideMedia  3 года назад +1

      Please check routes on web.php file, may be mistakes in spellings and also check route name on base.blade.php file

    • @prafulrambade1557
      @prafulrambade1557 3 года назад +1

      Check your web.php file u not defined component

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

      @@SurfsideMedia Yes, it was a line that was not commented on. I really appreciate your work and that you answered me, the way you explain and do the course is very methodical you are a good teacher, i hope you explain ways more pro to do multiauth.
      Success and blessings

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

    1000 Like

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

    Next tutorial please sir

  • @dvirus3693
    @dvirus3693 3 года назад +3

    Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException
    The POST method is not supported for this route. Supported methods: GET, HEAD. How to fix it

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

      i am facing the same problem, did you solved? if yes pls help me

    • @brianj.9699
      @brianj.9699 3 года назад

      Remove the title="Logout" in your