diff --git a/scripts/resend_mail/.gitignore b/scripts/resend_mail/.gitignore index 0782955b..a6a6438e 100644 --- a/scripts/resend_mail/.gitignore +++ b/scripts/resend_mail/.gitignore @@ -2,3 +2,5 @@ *.xlsx *.log resend_mail +config.yaml + diff --git a/scripts/resend_mail/config.example.yaml b/scripts/resend_mail/config.example.yaml new file mode 100644 index 00000000..9dc0714a --- /dev/null +++ b/scripts/resend_mail/config.example.yaml @@ -0,0 +1,33 @@ +url: "https://piattaforma.oief.it" +port: "3000" +domain: "oief.it" +log_level: 2 +language: "it" +jwt_expire_time: 90 + +keys: + cookie_store_key: "store_key" + jwt_signing_key: "jwt_key" + +orm: + connection: "oef:oef@tcp(db:3306)/oef_prod" + options: "charset=utf8&parseTime=True&loc=Local" + automigrate: true + reset: false + regenerate: false + +admin: + username: "admin" + password: "aolieVooju" + +subscriber: + password: "subscribe_pw" + +smtp: + host: "smtps.aruba.it" + port: 465 + username: "supporto.informatico@oief.it" + password: "password" + subject: "[CEF2023] - Credenziali di accesso della scuola" + from: "supporto.informatico@oief.it" + bcc: "posta@andreafazzi.eu" diff --git a/templates/layout/login.html.tpl b/templates/layout/login.html.tpl index 9eb04a80..4fb9f2ff 100644 --- a/templates/layout/login.html.tpl +++ b/templates/layout/login.html.tpl @@ -37,7 +37,7 @@