#6. Implementing Admin Forgot Password in CodeIgniter 4

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ม.ค. 2025

ความคิดเห็น • 22

  • @DanieL-zy5ju
    @DanieL-zy5ju ปีที่แล้ว +1

    a blog with codeigniter 3 will be really good, but nice tuto, really enjoy from the beginning to the end

  • @shijirbaatar579
    @shijirbaatar579 ปีที่แล้ว

    It was nice! When do you plan to complete it?

  • @ilmanur4978
    @ilmanur4978 8 หลายเดือนก่อน

    thank you very mush, sir! but why when I click submit button it appears to "Whoops! We seem to have hit a snag. Please try again later..." error?? what's wrong? what should i do? can you help me?? thank you!!

    • @sawastacks
      @sawastacks  8 หลายเดือนก่อน

      Check if you add correct mailtrap credentials.

  • @emmanueldominic9617
    @emmanueldominic9617 ปีที่แล้ว +1

    Nice tutorial, but why do I keep getting an error of an undefined variable: mailConfig, APPPATH/Helpers/CIMail_helper.php at line 22 after following and found everything is done right?

  • @LOMBOist
    @LOMBOist ปีที่แล้ว

    Hello Bro! What about the Laravel 10 e-commerce project? Are u going to continue that serie ? Thank u

  • @DevNinja-o3f
    @DevNinja-o3f ปีที่แล้ว

    why when i click on the submit button in the forgot password page by providing the admin email it takes me to the route 'send-password-reset-link but on that page it shows the error message from the codeigniter and actually not sending the email and not redirecting back to the forgot page with the fail or success message about the email? what should be the reason

    • @sawastacks
      @sawastacks  ปีที่แล้ว

      Ohhh! Very sorry to respond you message.
      For better result:
      in Routes.php, change this route:
      $routes->post('send-password-reset-link','AuthController::sendPasswordResetLink',['as'=>'admin.send_password_reset_link']);
      to:
      $routes->post('forgot-password','AuthController::sendPasswordResetLink',['as'=>'admin.send_password_reset_link']);
      I hope I answered that issue!
      Thank you for watching our videos.

    • @MasterLenoXWolfe
      @MasterLenoXWolfe 10 หลายเดือนก่อน

      I do have a same problem too 😢😢 when I click the submit button and it appears to WHOOPS try again page

    • @MasterLenoXWolfe
      @MasterLenoXWolfe 10 หลายเดือนก่อน

      ​@@sawastacksI tried that twice sir, it didn't work sir

  • @coebeone
    @coebeone 3 หลายเดือนก่อน

    SMTP Error: Could not connect to SMTP host. Failed to connect to server....

    • @sawastacks
      @sawastacks  3 หลายเดือนก่อน

      Check carefully if you provided correctly SMTP configurations.

  • @adiputra-og9qt
    @adiputra-og9qt 9 หลายเดือนก่อน

    Call to undefined function App\Controllers\sendMail() why my error like this?

  • @irvin_estevezjor
    @irvin_estevezjor ปีที่แล้ว

    I've tried using a real email but I didn't receive the email to change the password, why is not working? Any idea?

    • @sawastacks
      @sawastacks  ปีที่แล้ว

      You didn't not receive an email in your Mailtrap.io account? This is a localhost testing, you have to use mailtrap service to test your email.

    • @irvin_estevezjor
      @irvin_estevezjor ปีที่แล้ว

      @@sawastacks I found a syntax error, my faul. Thanks.
      But I have another error in Reset Password video.

  • @nn4768
    @nn4768 ปีที่แล้ว +1

    ❤❤❤❤❤❤❤❤

  • @karlosystem
    @karlosystem ปีที่แล้ว

    CAPITULE 7 ?
    saludos desde Lima - Perú

  • @chrflx
    @chrflx 7 หลายเดือนก่อน

    hi, I'm facing an error when trying to use $password_reset_token->insert([.
    can anyone help to to solve it?
    this is the code :
    $password_reset_token = new PasswordResetToken();
    $password_reset_token->insert([
    'email' => $user_info->email,
    'token' => $token,
    'created_at' => Carbon::now()
    ]);
    this is the error message :
    Argument '1' passed to insert() is expected to be of type object|row_array|null, array given