From: Aidan Cornelius-Bell <aidan@cornelius-bell.com>
Date: Mon, 23 Sep 2024 01:10:06 +0000 (+0930)
Subject: Fixed devise placeholder value on email
X-Git-Url: https://gitweb.mndrdr.org/?a=commitdiff_plain;h=4bf3b912b205f4ac53edec2502af68a94749f88c;p=arelpe.git

Fixed devise placeholder value on email
---

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 <mr@acb.boo>'
 
   # 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