Controllers: Switch password reset to Tx/Mailer due to required auth

This commit is contained in:
Riyyi
2021-10-22 15:46:49 +02:00
parent 9a99c31d47
commit e782ea5979
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ class Mail {
return mail($to, $subject, $message, $headers);
}
public static function sendMail(string $subject, string $message, string $from = '', string $to = ''): bool
public static function sendMail(string $subject, string $message, string $to = '', string $from = ''): bool
{
if ($to == '') {
$to = self::$to;