#44 Reset Password | User Management Module | CodeIgniter 4 Tutorials

Поділитися
Вставка
  • Опубліковано 17 січ 2025

КОМЕНТАРІ • 14

  • @kodetumbuh
    @kodetumbuh 2 роки тому

    this is what i'm looking for, thank you for your tutorial it's really helpfull

  • @vijaysrini27
    @vijaysrini27 3 роки тому +1

    For this chapter, and for the previous chapter, a humble suggestion. It would be fine if the Uniid is changed, and a new one is generated, and then the reset_password is given with the parameter as the same new Uniid. Otherwise, if we ask for reset password now, and reset password after some time, you will get the same link in both cases in the email.
    Hope my suggestion is fine.

    • @GoPHP
      @GoPHP  3 роки тому

      it's a good thought

  • @srai2154
    @srai2154 2 роки тому

    I'm having trouble providing route name while sending form to controller and returning to view. can you please send me the code to reset password?

    • @GoPHP
      @GoPHP  2 роки тому

      github.com/gophptrainings/CodeIgniter-4-project
      please download whole code from here

    • @srai2154
      @srai2154 2 роки тому

      @@GoPHP thank you very much

  • @iamansohal
    @iamansohal 3 роки тому

    Password is updating but getting 'Unable to reset password, try again'. Why?

  • @syifarmdhnty
    @syifarmdhnty 3 роки тому

    how to set the routes.php for reset_password/$tokens

    • @GoPHP
      @GoPHP  3 роки тому

      if you have single parameter in URL
      $routes->get('reset_password/(:any)', 'YourControllerName::reset_password/$1');
      if you have two parameters in URL
      $routes->get('register/(:num)/(:alpha)') = 'YourControllerName::MethodName/$1/$2';
      :any will accept any type value in URL
      :num will accept only number value in URL
      :alpha will accept only characters in URL