users are redirected to the welcome page when changing their password
This commit is contained in:
parent
f220852d32
commit
35f1a02db4
@ -39,7 +39,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
|
|||||||
get_user_info_from_session_id("id"),
|
get_user_info_from_session_id("id"),
|
||||||
$new_password
|
$new_password
|
||||||
)) {
|
)) {
|
||||||
//header("location: welcome.php");
|
header("location: welcome.php");
|
||||||
} else {
|
} else {
|
||||||
echo "Oops! Something went wrong. Please try again later.";
|
echo "Oops! Something went wrong. Please try again later.";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user