1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/moncycle_ynh.git synced 2024-09-03 19:46:16 +02:00

Merge pull request #45 from Limezy/v13.0.2

V13.0.2
This commit is contained in:
Limezy 2024-05-12 00:18:38 +07:00 committed by GitHub
commit 54c4092016
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 19 additions and 25 deletions

View file

@ -1,6 +1,6 @@
{
"app": "moncycle.app",
"version": "13~ynh1",
"build": "2024-04-23",
"commit": "5415446"
"version": "13~ynh2",
"build": "2024-05-11",
"commit": "dfadfec"
}

View file

@ -5,7 +5,7 @@ name = "Moncycle"
description.en = "Menstrual cycle follow-up for natural family planning"
description.fr = "Suivi de cycle pour les méthodes naturelles de régulation de naissance"
version = "13~ynh1"
version = "13~ynh2"
maintainers = ["Raoul de Limezy"]
@ -34,8 +34,8 @@ ram.runtime = "50M"
[resources]
[resources.sources.main]
url = "https://github.com/jean-io/moncycle.app/archive/refs/tags/v13.tar.gz"
sha256 = "db7ae0dcb3c307d6881ae1d1af67670ac4951d67fa788ce7cc0cb2bf4f08eb3f"
url = "https://github.com/jean-io/moncycle.app/archive/dfadfec65ec696257857cedd937a93c62c76e463.zip"
sha256 = "f2fc644459c76484bfbcf5c748138e577e24334651c29f0e817d50abb5de4861"
autoupdate.strategy = "latest_github_release"
[resources.system_user]

View file

@ -1,23 +1,17 @@
diff --git a/www_data/lib/mail.php b/www_data/lib/mail.php
index 9b58b50..0112cc5 100644
index fc2246e..2e060e3 100644
--- a/www_data/lib/mail.php
+++ b/www_data/lib/mail.php
@@ -12,16 +12,14 @@ use PHPMailer\PHPMailer\PHPMailer;
@@ -15,10 +15,10 @@ function mail_init(){
function mail_init(){
$mail = new PHPMailer();
-
$mail->isSMTP();
$mail->Host = SMTP_HOST;
- $mail->SMTPAuth = true;
+ $mail->SMTPAuth = false;
$mail->Username = SMTP_MAIL;
$mail->Password = SMTP_PASSWORD;
- $mail->SMTPSecure = PHPMailer::ENCRYPTION_SMTPS;
+ $mail->SMTPSecure = false;
$mail->Port = SMTP_PORT;
$mail->CharSet = 'UTF-8';
-
$mail->setFrom(SMTP_MAIL, 'moncycle.app');
return $mail;
}
$mail->isSMTP();
$mail->Host = SMTP_HOST;
- $mail->SMTPAuth = true;
+ $mail->SMTPAuth = false;
$mail->Username = SMTP_MAIL;
$mail->Password = SMTP_PASSWORD;
- $mail->SMTPSecure = PHPMailer::ENCRYPTION_SMTPS;
+ $mail->SMTPSecure = false;
$mail->Port = SMTP_PORT;
$mail->CharSet = 'UTF-8';