diff --git a/CHANGELOG.md b/CHANGELOG.md index 02a5dbb7..35b0db6c 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +* [PR-333](https://github.com/itk-dev/hoeringsportal/pull/333) + Sent notification mails on citizen proposal creation and publication + ## [3.1.0] - 2023-08-04 - Citizen proposal * [PR-331](https://github.com/itk-dev/hoeringsportal/pull/331) diff --git a/composer.json b/composer.json index 26256eaf..d32a1676 100755 --- a/composer.json +++ b/composer.json @@ -52,6 +52,16 @@ } } }, + "drupal/hoeringsportal_citizen_proposal": { + "type": "path", + "url": "web/modules/custom/hoeringsportal_citizen_proposal", + "options": { + "symlink": false, + "versions": { + "drupal/hoeringsportal_citizen_proposal": "1.0-dev" + } + } + }, "drupal/hoeringsportal_citizen_proposal_archiving": { "type": "path", "url": "web/modules/custom/hoeringsportal_citizen_proposal_archiving", @@ -100,6 +110,7 @@ "drupal/entityqueue": "^1.0@alpha", "drupal/field_group": "^3.0", "drupal/flag": "^4.0@alpha", + "drupal/hoeringsportal_citizen_proposal": "1.0-dev", "drupal/hoeringsportal_citizen_proposal_archiving": "1.0-dev", "drupal/hoeringsportal_data": "^1.0", "drupal/hoeringsportal_deskpro": "^1.0", diff --git a/composer.lock b/composer.lock index 5cabfbdf..2218df84 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "91665df1e6c8571f67eae6e4069486ea", + "content-hash": "ad93a7db3976405d97d049079e3800e1", "packages": [ { "name": "asm89/stack-cors", @@ -3334,6 +3334,39 @@ "source": "https://git.drupalcode.org/project/flag" } }, + { + "name": "drupal/hoeringsportal_citizen_proposal", + "version": "1.0-dev", + "dist": { + "type": "path", + "url": "web/modules/custom/hoeringsportal_citizen_proposal", + "reference": "b271aaea66b060d03c05bfff6e1af0cae74f6e97" + }, + "require": { + "drupal/entity_events": "^2.0", + "drupal/symfony_mailer": "^1.3", + "drush/drush": "^11" + }, + "type": "drupal-custom-module", + "extra": { + "drush": { + "services": { + "drush.services.yml": "^11" + } + } + }, + "license": [ + "GPL-2.0+" + ], + "description": "Citizen proposal", + "keywords": [ + "Drupal" + ], + "transport-options": { + "symlink": false, + "relative": true + } + }, { "name": "drupal/hoeringsportal_citizen_proposal_archiving", "version": "1.0-dev", @@ -4508,6 +4541,58 @@ "source": "https://git.drupalcode.org/project/search_autocomplete" } }, + { + "name": "drupal/symfony_mailer", + "version": "1.3.0", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/symfony_mailer.git", + "reference": "1.3.0" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/symfony_mailer-1.3.0.zip", + "reference": "1.3.0", + "shasum": "60170ef1e9a11e89d2458f48dc556625fc97ab76" + }, + "require": { + "drupal/core": "^9.4 || ^10", + "html2text/html2text": "^4.0.1", + "symfony/mailer": "^5.3 || ^6.0", + "tijsverkoyen/css-to-inline-styles": "^2.2" + }, + "type": "drupal-module", + "extra": { + "drupal": { + "version": "1.3.0", + "datestamp": "1690969900", + "security-coverage": { + "status": "covered", + "message": "Covered by Drupal's security advisory policy" + } + }, + "drush": { + "services": { + "drush.services.yml": "^11" + } + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", + "license": [ + "GPL-2.0-or-later" + ], + "authors": [ + { + "name": "AdamPS", + "homepage": "https://www.drupal.org/user/2650563" + } + ], + "description": "Symfony Mailer", + "homepage": "https://www.drupal.org/project/symfony_mailer", + "support": { + "source": "https://git.drupalcode.org/project/symfony_mailer" + } + }, { "name": "drupal/system_status", "version": "2.9.0", @@ -5644,6 +5729,47 @@ ], "time": "2023-04-17T16:00:37+00:00" }, + { + "name": "html2text/html2text", + "version": "4.3.1", + "source": { + "type": "git", + "url": "https://github.com/mtibben/html2text.git", + "reference": "61ad68e934066a6f8df29a3d23a6460536d0855c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/mtibben/html2text/zipball/61ad68e934066a6f8df29a3d23a6460536d0855c", + "reference": "61ad68e934066a6f8df29a3d23a6460536d0855c", + "shasum": "" + }, + "require-dev": { + "phpunit/phpunit": "~4" + }, + "suggest": { + "ext-mbstring": "For best performance", + "symfony/polyfill-mbstring": "If you can't install ext-mbstring" + }, + "type": "library", + "autoload": { + "psr-4": { + "Html2Text\\": [ + "src/", + "test/" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GPL-2.0-or-later" + ], + "description": "Converts HTML to formatted plain text", + "support": { + "issues": "https://github.com/mtibben/html2text/issues", + "source": "https://github.com/mtibben/html2text/tree/4.3.1" + }, + "time": "2020-04-16T23:44:31+00:00" + }, { "name": "itk-dev/composer-virtualenv", "version": "1.0.0", @@ -7671,6 +7797,56 @@ }, "time": "2021-11-05T16:50:12+00:00" }, + { + "name": "psr/event-dispatcher", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/event-dispatcher.git", + "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/event-dispatcher/zipball/dbefd12671e8a14ec7f180cab83036ed26714bb0", + "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0", + "shasum": "" + }, + "require": { + "php": ">=7.2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\EventDispatcher\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Standard interfaces for event handling.", + "keywords": [ + "events", + "psr", + "psr-14" + ], + "support": { + "issues": "https://github.com/php-fig/event-dispatcher/issues", + "source": "https://github.com/php-fig/event-dispatcher/tree/1.0.0" + }, + "time": "2019-01-08T18:20:26+00:00" + }, { "name": "psr/http-client", "version": "1.0.2", @@ -8411,6 +8587,72 @@ ], "time": "2022-11-05T17:10:16+00:00" }, + { + "name": "symfony/css-selector", + "version": "v4.4.44", + "source": { + "type": "git", + "url": "https://github.com/symfony/css-selector.git", + "reference": "bd0a6737e48de45b4b0b7b6fc98c78404ddceaed" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/css-selector/zipball/bd0a6737e48de45b4b0b7b6fc98c78404ddceaed", + "reference": "bd0a6737e48de45b4b0b7b6fc98c78404ddceaed", + "shasum": "" + }, + "require": { + "php": ">=7.1.3", + "symfony/polyfill-php80": "^1.16" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\CssSelector\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Jean-François Simon", + "email": "jeanfrancois.simon@sensiolabs.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Converts CSS selectors to XPath expressions", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/css-selector/tree/v4.4.44" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-06-27T13:16:42+00:00" + }, { "name": "symfony/debug", "version": "v4.4.44", @@ -9330,6 +9572,82 @@ ], "time": "2023-02-01T08:01:31+00:00" }, + { + "name": "symfony/mailer", + "version": "v5.4.22", + "source": { + "type": "git", + "url": "https://github.com/symfony/mailer.git", + "reference": "6330cd465dfd8b7a07515757a1c37069075f7b0b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/mailer/zipball/6330cd465dfd8b7a07515757a1c37069075f7b0b", + "reference": "6330cd465dfd8b7a07515757a1c37069075f7b0b", + "shasum": "" + }, + "require": { + "egulias/email-validator": "^2.1.10|^3|^4", + "php": ">=7.2.5", + "psr/event-dispatcher": "^1", + "psr/log": "^1|^2|^3", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/event-dispatcher": "^4.4|^5.0|^6.0", + "symfony/mime": "^5.2.6|^6.0", + "symfony/polyfill-php80": "^1.16", + "symfony/service-contracts": "^1.1|^2|^3" + }, + "conflict": { + "symfony/http-kernel": "<4.4" + }, + "require-dev": { + "symfony/http-client": "^4.4|^5.0|^6.0", + "symfony/messenger": "^4.4|^5.0|^6.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Mailer\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Helps sending emails", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/mailer/tree/v5.4.22" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-03-10T10:15:32+00:00" + }, { "name": "symfony/mime", "version": "v5.4.13", @@ -11154,6 +11472,59 @@ ], "time": "2022-08-02T15:47:23+00:00" }, + { + "name": "tijsverkoyen/css-to-inline-styles", + "version": "2.2.6", + "source": { + "type": "git", + "url": "https://github.com/tijsverkoyen/CssToInlineStyles.git", + "reference": "c42125b83a4fa63b187fdf29f9c93cb7733da30c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/c42125b83a4fa63b187fdf29f9c93cb7733da30c", + "reference": "c42125b83a4fa63b187fdf29f9c93cb7733da30c", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-libxml": "*", + "php": "^5.5 || ^7.0 || ^8.0", + "symfony/css-selector": "^2.7 || ^3.0 || ^4.0 || ^5.0 || ^6.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0 || ^7.5 || ^8.5.21 || ^9.5.10" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.2.x-dev" + } + }, + "autoload": { + "psr-4": { + "TijsVerkoyen\\CssToInlineStyles\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Tijs Verkoyen", + "email": "css_to_inline_styles@verkoyen.eu", + "role": "Developer" + } + ], + "description": "CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.", + "homepage": "https://github.com/tijsverkoyen/CssToInlineStyles", + "support": { + "issues": "https://github.com/tijsverkoyen/CssToInlineStyles/issues", + "source": "https://github.com/tijsverkoyen/CssToInlineStyles/tree/2.2.6" + }, + "time": "2023-01-03T09:29:04+00:00" + }, { "name": "twig/twig", "version": "v2.15.5", @@ -15561,72 +15932,6 @@ ], "time": "2022-07-25T12:56:14+00:00" }, - { - "name": "symfony/css-selector", - "version": "v4.4.44", - "source": { - "type": "git", - "url": "https://github.com/symfony/css-selector.git", - "reference": "bd0a6737e48de45b4b0b7b6fc98c78404ddceaed" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/css-selector/zipball/bd0a6737e48de45b4b0b7b6fc98c78404ddceaed", - "reference": "bd0a6737e48de45b4b0b7b6fc98c78404ddceaed", - "shasum": "" - }, - "require": { - "php": ">=7.1.3", - "symfony/polyfill-php80": "^1.16" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\CssSelector\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Jean-François Simon", - "email": "jeanfrancois.simon@sensiolabs.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Converts CSS selectors to XPath expressions", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/css-selector/tree/v4.4.44" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2022-06-27T13:16:42+00:00" - }, { "name": "symfony/dom-crawler", "version": "v4.4.45", @@ -15921,6 +16226,7 @@ "drupal/email_registration": 5, "drupal/entityqueue": 15, "drupal/flag": 15, + "drupal/hoeringsportal_citizen_proposal": 20, "drupal/hoeringsportal_citizen_proposal_archiving": 20, "drupal/inline_entity_form": 5, "drupal/toolbar_visibility": 20 diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index 4aa4bcea..45c990fb 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -89,6 +89,7 @@ module: search: 0 search_autocomplete: 0 serialization: 0 + symfony_mailer: 0 system: 0 system_status: 0 taxonomy: 0 diff --git a/config/sync/filter.format.email_html.yml b/config/sync/filter.format.email_html.yml new file mode 100644 index 00000000..da98bbda --- /dev/null +++ b/config/sync/filter.format.email_html.yml @@ -0,0 +1,10 @@ +uuid: bf704798-b10e-4239-8d8f-8268557ff87c +langcode: da +status: true +dependencies: { } +_core: + default_config_hash: u5MXordtBE3SIs1x4qEUEBUFctQ0jjSn2vbPtgxvXuM +name: 'Email HTML' +format: email_html +weight: 0 +filters: { } diff --git a/config/sync/symfony_mailer.mailer_policy._.yml b/config/sync/symfony_mailer.mailer_policy._.yml new file mode 100644 index 00000000..324d68a6 --- /dev/null +++ b/config/sync/symfony_mailer.mailer_policy._.yml @@ -0,0 +1,15 @@ +uuid: 8f00b079-62e0-4eee-8d86-5127205241ad +langcode: da +status: true +dependencies: { } +_core: + default_config_hash: oUtf135g-IPzmggtfsOOX5ZINxbSe5Kno64BN2NUKn0 +id: _ +configuration: + mailer_url_to_absolute: { } + mailer_inline_css: { } + mailer_wrap_and_convert: + plain: false + swiftmailer: false + email_theme: + theme: _active_fallback diff --git a/config/sync/symfony_mailer.mailer_policy.hoeringsportal_citizen_proposal.proposal_created.yml b/config/sync/symfony_mailer.mailer_policy.hoeringsportal_citizen_proposal.proposal_created.yml new file mode 100644 index 00000000..b865a91d --- /dev/null +++ b/config/sync/symfony_mailer.mailer_policy.hoeringsportal_citizen_proposal.proposal_created.yml @@ -0,0 +1,13 @@ +uuid: 35259a5e-4fa3-40e8-b45c-0fb92d142992 +langcode: da +status: true +dependencies: + module: + - hoeringsportal_citizen_proposal +id: hoeringsportal_citizen_proposal.proposal_created +configuration: + email_subject: + value: 'Tak for dit borgerforslag på [site:url]' + email_theme: + theme: _active_fallback + mailer_url_to_absolute: { } diff --git a/config/sync/symfony_mailer.mailer_policy.symfony_mailer.test.yml b/config/sync/symfony_mailer.mailer_policy.symfony_mailer.test.yml new file mode 100644 index 00000000..977f3d5b --- /dev/null +++ b/config/sync/symfony_mailer.mailer_policy.symfony_mailer.test.yml @@ -0,0 +1,20 @@ +uuid: 6f22f21d-59a0-44df-b848-e8c8c474386a +langcode: da +status: true +dependencies: { } +_core: + default_config_hash: kkNORryWq16MbI0VC3ObIOgBuWNVx3PtGq-hDSsxgIw +id: symfony_mailer.test +configuration: + email_body: + content: + value: |- +
This is a test email from [site:name].
+Have a great {{ day }}!
+You need to take action to secure your server {{ site_name }}.
+See the available updates page for more information. + {% if update_manager %} + You can automatically install your updates using the Update manager. + {% endif %} + You can change your settings for what update notifications you receive.
+ format: email_html + email_subject: + value: 'New release(s) available for {{ site_name }}' diff --git a/config/sync/symfony_mailer.mailer_policy.user.cancel_confirm.yml b/config/sync/symfony_mailer.mailer_policy.user.cancel_confirm.yml new file mode 100644 index 00000000..f61c38bf --- /dev/null +++ b/config/sync/symfony_mailer.mailer_policy.user.cancel_confirm.yml @@ -0,0 +1,18 @@ +uuid: 242d7849-2d9c-43ba-ae5f-cd8d7e40ebf3 +langcode: en +status: true +dependencies: + module: + - user +id: user.cancel_confirm +configuration: + email_subject: + value: 'Account cancellation request for [user:display-name] at [site:name]' + email_body: + content: + value: |- +[user:display-name],
+A request has been made to cancel your account at [site:name]. + You may now use this link to cancel your account.
+Note: The cancellation of your account is not reversible. This link expires in one day and nothing will happen if it is not used.
+ format: email_html diff --git a/config/sync/symfony_mailer.mailer_policy.user.password_reset.yml b/config/sync/symfony_mailer.mailer_policy.user.password_reset.yml new file mode 100644 index 00000000..5a0470b0 --- /dev/null +++ b/config/sync/symfony_mailer.mailer_policy.user.password_reset.yml @@ -0,0 +1,18 @@ +uuid: 232f5a54-1681-41f3-905f-2e8c7b1fa94e +langcode: en +status: true +dependencies: + module: + - user +id: user.password_reset +configuration: + email_subject: + value: 'Replacement login information for [user:display-name] at [site:name]' + email_body: + content: + value: |- +[user:display-name],
+A request has been made to reset the password for your account at [site:name]. + You may now use this link to log in. + This link can only be used once to log in and will lead you to a page where you can set your password. It expires after one day and nothing will happen if it's not used.
+ format: email_html diff --git a/config/sync/symfony_mailer.mailer_policy.user.register_admin_created.yml b/config/sync/symfony_mailer.mailer_policy.user.register_admin_created.yml new file mode 100644 index 00000000..9910002e --- /dev/null +++ b/config/sync/symfony_mailer.mailer_policy.user.register_admin_created.yml @@ -0,0 +1,23 @@ +uuid: b35a513e-f123-4e02-8d31-7c6ac3b624bf +langcode: en +status: true +dependencies: + module: + - user +id: user.register_admin_created +configuration: + email_subject: + value: 'An administrator created an account for you at [site:name]' + email_body: + content: + value: |- +[user:display-name],
+A site administrator at [site:name] has created an account for you. + You may now use this link to log in. It can be used only once and will lead you to a page where you can set your password.
+ +After setting your password, you will be able to log in in the future using:
+[user:display-name],
+Thank you for registering at [site:name]. + You may now use this link to log in. It can be used only once and will lead you to a page where you can set your password.
+ +After setting your password, you will be able to log in in the future using:
+[user:display-name],
+Thank you for registering at [site:name]. + Your application for an account is currently pending approval. + Once it has been approved, you will receive another email containing information about how to log in, set your password, and other details.
+ format: email_html diff --git a/config/sync/symfony_mailer.mailer_policy.user.register_pending_approval_admin.yml b/config/sync/symfony_mailer.mailer_policy.user.register_pending_approval_admin.yml new file mode 100644 index 00000000..377e289a --- /dev/null +++ b/config/sync/symfony_mailer.mailer_policy.user.register_pending_approval_admin.yml @@ -0,0 +1,21 @@ +uuid: edc4da89-0bab-4c38-8154-112d04676a88 +langcode: en +status: true +dependencies: + module: + - user +id: user.register_pending_approval_admin +configuration: + email_subject: + value: 'Account details for [user:display-name] at [site:name] (pending admin approval)' + email_body: + content: + value: |- +[user:display-name] has applied for an account at [site:name]. + You may now use this link to approve the request.
+ format: email_html + email_to: + addresses: + - + value: '[user:display-name],
+Your account at [site:name] has been activated. + You may now use this link to log in. It can be used only once and will lead you to a page where you can set your password.
+ +After setting your password, you will be able to log in in the future using:
+[user:display-name],
+Your account on [site:name] has been blocked.
+ format: email_html + email_skip_sending: + message: 'Notification disabled in settings' diff --git a/config/sync/symfony_mailer.mailer_policy.user.status_canceled.yml b/config/sync/symfony_mailer.mailer_policy.user.status_canceled.yml new file mode 100644 index 00000000..f048bf8f --- /dev/null +++ b/config/sync/symfony_mailer.mailer_policy.user.status_canceled.yml @@ -0,0 +1,18 @@ +uuid: 204c6b0a-fda7-4fd2-8296-e61abbce5f3a +langcode: en +status: true +dependencies: + module: + - user +id: user.status_canceled +configuration: + email_subject: + value: 'Account details for [user:display-name] at [site:name] (canceled)' + email_body: + content: + value: |- +[user:display-name],
+Your account on [site:name] has been canceled.
+ format: email_html + email_skip_sending: + message: 'Notification disabled in settings' diff --git a/config/sync/symfony_mailer.mailer_policy.user_registrationpassword.register_confirmation_with_pass.yml b/config/sync/symfony_mailer.mailer_policy.user_registrationpassword.register_confirmation_with_pass.yml new file mode 100644 index 00000000..b047baf9 --- /dev/null +++ b/config/sync/symfony_mailer.mailer_policy.user_registrationpassword.register_confirmation_with_pass.yml @@ -0,0 +1,19 @@ +uuid: cf411036-bb07-472f-9a6d-24cf856dd606 +langcode: en +status: true +dependencies: { } +id: user_registrationpassword.register_confirmation_with_pass +configuration: + email_subject: + value: 'Account details for [user:display-name] at [site:name]' + email_body: + content: + value: |- +[user:display-name],
+Thank you for registering at [site:name]. + You may now use this link to log in. It can be used only once and you will be able to log in in the future using:
++ + | +
+
+ {{ body }}
+
+ |
+