Fix password reset link

This commit is contained in:
Jay 2022-03-03 17:16:40 +01:00
parent 75736fc26e
commit d9ebe7e038

View file

@ -73,7 +73,7 @@ if (isset($_POST['reset'], $_POST['email'])) {
);
$mjml = str_replace(
'password-reset-link',
$_SERVER['REQUEST_SCHEME'] . '://' . $_SERVER['HTTP_HOST'] . '/register.php?password-reset=' . $_POST['email'] . '&token=' . $token,
$_SERVER['REQUEST_SCHEME'] . '://' . $_SERVER['HTTP_HOST'] . '/?page=register&password-reset=' . $_POST['email'] . '&token=' . $token,
$mjml
);