From 4bf3b912b205f4ac53edec2502af68a94749f88c Mon Sep 17 00:00:00 2001 From: Aidan Cornelius-Bell Date: Mon, 23 Sep 2024 10:40:06 +0930 Subject: [PATCH] Fixed devise placeholder value on email --- config/initializers/devise.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb index 0e96b38..3ac607b 100644 --- a/config/initializers/devise.rb +++ b/config/initializers/devise.rb @@ -24,7 +24,7 @@ Devise.setup do |config| # Configure the e-mail address which will be shown in Devise::Mailer, # note that it will be overwritten if you use your own mailer class # with default "from" parameter. - config.mailer_sender = 'please-change-me-at-config-initializers-devise@example.com' + config.mailer_sender = 'Mind Reader ' # Configure the class responsible to send e-mails. # config.mailer = 'Devise::Mailer' @@ -143,7 +143,7 @@ Devise.setup do |config| # without confirming their account. # Default is 0.days, meaning the user cannot access the website without # confirming their account. - config.allow_unconfirmed_access_for = 2.days + config.allow_unconfirmed_access_for = 2.hours # A period that the user is allowed to confirm their account before their # token becomes invalid. For example, if set to 3.days, the user can confirm -- 2.39.5