Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
2813e94e
Commit
2813e94e
authored
Feb 01, 2017
by
Florian Schaal
Browse files
Fix #4332 (password reset empty From address)
parent
30ead37e
Changes
1
Show whitespace changes
Inline
Side-by-side
interface/web/login/password_reset.php
View file @
2813e94e
...
...
@@ -85,6 +85,7 @@ if(isset($_POST['username']) && $_POST['username'] != '' && $_POST['email'] != '
if
(
isset
(
$_SERVER
[
'SERVER_PORT'
])
&&
$_SERVER
[
'SERVER_PORT'
]
!=
'443'
)
$server_domain
.
=
':'
.
$_SERVER
[
'SERVER_PORT'
];
$app
->
uses
(
'getconf,ispcmail'
);
$server_config_array
=
$app
->
getconf
->
get_global_config
();
$mail_config
=
$server_config_array
[
'mail'
];
if
(
$mail_config
[
'smtp_enabled'
]
==
'y'
)
{
$mail_config
[
'use_smtp'
]
=
true
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment