(cp 6e45a8f42) fixes #2281 use template for reset/activation mail

and change is_first_connection to has_already_logged_in for better naming
This commit is contained in:
Linty
2024-11-25 11:31:22 +01:00
parent d16380c3fa
commit 4be028023c
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -1039,7 +1039,7 @@ function pwg_generate_reset_password_mail($username, $password_link, $gallery_ti
return array(
'subject' => '['.$gallery_title.'] '.l10n('Password Reset'),
'content' => $message,
'email_format' => 'text/plain',
'content_format' => 'text/plain',
);
}
@@ -1078,7 +1078,7 @@ function pwg_generate_set_password_mail($username, $set_password_link, $gallery_
return array(
'subject' => l10n('Welcome to ') . '['.$gallery_title.']',
'content' => $message,
'email_format' => 'text/plain',
'content_format' => 'text/plain',
);
}