From beb5f380b0528fb424b77d1ab65fe134c9b94499 Mon Sep 17 00:00:00 2001 From: Okke Harsta Date: Thu, 5 Dec 2024 14:25:08 +0100 Subject: [PATCH] https://github.com/OpenConext/OpenConext-myconext/issues/547 --- environments/template/group_vars/template.yml | 1 + environments/vm/group_vars/vm.yml | 1 + roles/myconext/templates/application.yml.j2 | 6 ++++++ 3 files changed, 8 insertions(+) diff --git a/environments/template/group_vars/template.yml b/environments/template/group_vars/template.yml index 4802bd2d6..0512e06fc 100644 --- a/environments/template/group_vars/template.yml +++ b/environments/template/group_vars/template.yml @@ -420,6 +420,7 @@ myconext: feature_id_verify: true feature_remote_creation_api: true feature_mail_institution_mail_usage: true + feature_nudge_app_mail: true feature_send_js_exceptions: true feature_deny_disposable_email_providers: true feature_create_eduid_institution_enabled: true diff --git a/environments/vm/group_vars/vm.yml b/environments/vm/group_vars/vm.yml index ecab6e6de..ad0cb3160 100644 --- a/environments/vm/group_vars/vm.yml +++ b/environments/vm/group_vars/vm.yml @@ -311,6 +311,7 @@ myconext: feature_id_verify: true feature_remote_creation_api: true feature_mail_institution_mail_usage: true + feature_nudge_app_mail: true feature_send_js_exceptions: true feature_deny_disposable_email_providers: true feature_create_eduid_institution_enabled: true diff --git a/roles/myconext/templates/application.yml.j2 b/roles/myconext/templates/application.yml.j2 index 61c9597c1..4b180a428 100644 --- a/roles/myconext/templates/application.yml.j2 +++ b/roles/myconext/templates/application.yml.j2 @@ -57,6 +57,10 @@ cron: manage-fixed-rate-milliseconds: 300_000 # Runs on the first day of February, May, August, and November. mail-institution-mail-usage-expression: "0 0 0 1 2,5,8,11 *" + # Every day at 6:30AM + nudge-app-mail-expression: "0 30 6 * * ?" + # Number of days after creation of the eduID account which the nudge mail is send + nudge-app-mail-days-after-creation: 14 manage: username: myconext @@ -107,6 +111,8 @@ feature: send_js_exceptions: {{ myconext.feature_send_js_exceptions }} # Do we periodically mail users who have used their institution account mail_institution_mail_usage: {{ myconext.feature_mail_institution_mail_usage }} + # Do we mail users who have not installed the eduID app + nudge_app_mail: {{ myconext.feature_nudge_app_mail }} secure_cookie: true idp_entity_id: https://login.{{ myconext_base_domain }}