tibix / proiect_testare

0 stars 0 forks source link

Eroare recuperare parola #14

Closed danmierlut closed 11 months ago

danmierlut commented 11 months ago

Pagina de recuperare parola fara a fi logat in cont se dechide corect insa dupa introducerea unei adrese de email inregistrate, la apasarea butonului "send recovery link", redirectioneza spre o pagina din afara domeniului (folderului in care este gazduita aplicatia si anume pe radacina gazdei).

http://localhost/proiect_testare/password_reset.php

redirectioneaza la apasare buton "send recovery link" spre

http://localhost/password_recover.php

mobeatrice commented 11 months ago

In fisierul password_reset.php, update la linia 91: $reset_link = "http://" . $_SERVER['HTTP_HOST'] . "/proiect_testare-main/password_recover.php?user_id=" . $user_data['id'] . "&token=" . $user->getToken($user_data['id']);

tibix commented 11 months ago

Am remediat problema in branch-ul https://github.com/tibix/proiect_testare/tree/bug14_resetare_parola Va rog testati si confirmati daca se poate face merge in main

tibix commented 11 months ago

Fixed in commit 025bfef0db9ea3438cd75b790057f082b60c4ec5