From 58807feb80c02d7e39be27e5a4ff07bbb4f8b704 Mon Sep 17 00:00:00 2001 From: dpeca Date: Sun, 29 Mar 2020 18:13:22 +0200 Subject: [PATCH] Adding port to reset password link --- web/reset/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/reset/index.php b/web/reset/index.php index 0b867090..e4a7608f 100644 --- a/web/reset/index.php +++ b/web/reset/index.php @@ -30,7 +30,7 @@ if ((!empty($_POST['user'])) && (empty($_POST['code']))) { } else { $mailtext = __('GREETINGS'); } - $mailtext .= __('PASSWORD_RESET_REQUEST',$hostname,$user,$rkey,$hostname,$user,$rkey); + $mailtext .= __('PASSWORD_RESET_REQUEST',$hostname.":".$_SERVER['SERVER_PORT'],$user,$rkey,$hostname.":".$_SERVER['SERVER_PORT'],$user,$rkey); if (!empty($rkey)) send_email($to, $subject, $mailtext, $from); unset($output); }