Question: Forgot Password Need To Replace Has Password

Forgot Password Need To Replace Has Password

Hi, im the admin of the app and i have access to the database but u just forgot my admin password..how can i generate that hash password? thanks in advance.

BB

Bonito Bonita

Asked
Hi, im the admin of the app and i have access to the database but u just forgot my admin password..how can i generate that hash password? thanks in advance.
  • MS

    Mian Saleem

    Answered
    Hello,

    You can set the user password to `2a7c8e0896640da11cef8c5767e56efb359f947e` to set default password of 12345678

    The sql query will be as following

    ```sql
    UPDATE `tec_users` SET `password`='2a7c8e0896640da11cef8c5767e56efb359f947e' WHERE id = xxxxx;
    ```

    Please replace `xxxxx` with user id.

    Thank you
  • BB

    Bonito Bonita

    Answered
    hi, that was very helpful and it works..thanks.
  • Login to Reply