1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/moncycle_ynh.git synced 2024-09-03 19:46:16 +02:00
This commit is contained in:
Limezy 2024-05-11 21:32:48 +07:00
parent a1166e684c
commit bf7a3cb7b8
3 changed files with 19 additions and 25 deletions

View file

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

View file

@ -5,7 +5,7 @@ name = "Moncycle"
description.en = "Menstrual cycle follow-up for natural family planning" 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" 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"] maintainers = ["Raoul de Limezy"]
@ -34,8 +34,8 @@ ram.runtime = "50M"
[resources] [resources]
[resources.sources.main] [resources.sources.main]
url = "https://github.com/jean-io/moncycle.app/archive/refs/tags/v13.tar.gz" url = "https://github.com/jean-io/moncycle.app/archive/dfadfec65ec696257857cedd937a93c62c76e463.zip"
sha256 = "db7ae0dcb3c307d6881ae1d1af67670ac4951d67fa788ce7cc0cb2bf4f08eb3f" sha256 = "f2fc644459c76484bfbcf5c748138e577e24334651c29f0e817d50abb5de4861"
autoupdate.strategy = "latest_github_release" autoupdate.strategy = "latest_github_release"
[resources.system_user] [resources.system_user]

View file

@ -1,12 +1,9 @@
diff --git a/www_data/lib/mail.php b/www_data/lib/mail.php 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 --- a/www_data/lib/mail.php
+++ b/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->isSMTP();
$mail->Host = SMTP_HOST; $mail->Host = SMTP_HOST;
- $mail->SMTPAuth = true; - $mail->SMTPAuth = true;
@ -17,7 +14,4 @@ index 9b58b50..0112cc5 100644
+ $mail->SMTPSecure = false; + $mail->SMTPSecure = false;
$mail->Port = SMTP_PORT; $mail->Port = SMTP_PORT;
$mail->CharSet = 'UTF-8'; $mail->CharSet = 'UTF-8';
-
$mail->setFrom(SMTP_MAIL, 'moncycle.app');
return $mail;
}