From 6894d48e03c397096bb64420373afa60c397fe97 Mon Sep 17 00:00:00 2001 From: Jeremy Date: Sat, 7 Mar 2015 23:25:36 +0100 Subject: Handle forgot password --- app/config/config_dev.yml | 10 ++++++++-- app/config/config_test.yml | 4 +++- app/config/parameters.yml.dist | 1 + app/config/security.yml | 1 + 4 files changed, 13 insertions(+), 3 deletions(-) (limited to 'app/config') diff --git a/app/config/config_dev.yml b/app/config/config_dev.yml index efaf396e..205e0f66 100644 --- a/app/config/config_dev.yml +++ b/app/config/config_dev.yml @@ -44,5 +44,11 @@ monolog: assetic: use_controller: true -#swiftmailer: -# delivery_address: me@example.com +swiftmailer: + # see http://mailcatcher.me/ + transport: smtp + host: 'localhost' + port: 1025 + username: null + password: null + diff --git a/app/config/config_test.yml b/app/config/config_test.yml index a6ead1e8..00a6bc57 100644 --- a/app/config/config_test.yml +++ b/app/config/config_test.yml @@ -13,7 +13,9 @@ web_profiler: intercept_redirects: false swiftmailer: - disable_delivery: true + # to be able to read emails sent + spool: + type: file doctrine: dbal: diff --git a/app/config/parameters.yml.dist b/app/config/parameters.yml.dist index 44969750..8f967011 100644 --- a/app/config/parameters.yml.dist +++ b/app/config/parameters.yml.dist @@ -41,3 +41,4 @@ parameters: items_on_page: 12 theme: baggy language: en_US + from_email: no-reply@wallabag.org diff --git a/app/config/security.yml b/app/config/security.yml index e06c8967..90903f31 100644 --- a/app/config/security.yml +++ b/app/config/security.yml @@ -59,4 +59,5 @@ security: - { path: ^/api/salt, roles: IS_AUTHENTICATED_ANONYMOUSLY } - { path: ^/api/doc, roles: IS_AUTHENTICATED_ANONYMOUSLY } - { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY } + - { path: ^/forgot-password, roles: IS_AUTHENTICATED_ANONYMOUSLY } - { path: ^/, roles: ROLE_USER } -- cgit v1.2.3