]> gitweb.mndrdr.org Git - arelpe.git/commitdiff
Fixed devise placeholder value on email
authorAidan Cornelius-Bell <[email protected]>
Mon, 23 Sep 2024 01:10:06 +0000 (10:40 +0930)
committerAidan Cornelius-Bell <[email protected]>
Mon, 23 Sep 2024 01:10:06 +0000 (10:40 +0930)
config/initializers/devise.rb

index 0e96b38b4e98d36a8b78b8c3cf09b12284248944..3ac607bef72a59f3d4ecf45b26aba25d552b9519 100644 (file)
@@ -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 = '[email protected]'
+  config.mailer_sender = 'Mind Reader <[email protected]>'
 
   # 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