Skip to content

Commit 2813e94

Browse files
committed
Fix #4332 (password reset empty From address)
1 parent 30ead37 commit 2813e94

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

interface/web/login/password_reset.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@
8585
if(isset($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT'] != '443') $server_domain .= ':' . $_SERVER['SERVER_PORT'];
8686

8787
$app->uses('getconf,ispcmail');
88+
$server_config_array = $app->getconf->get_global_config();
8889
$mail_config = $server_config_array['mail'];
8990
if($mail_config['smtp_enabled'] == 'y') {
9091
$mail_config['use_smtp'] = true;

0 commit comments

Comments
 (0)