Make a config for the number of hours a self-service password reset is valid
[freeside.git] / FS / FS / Conf.pm
index ea1d391..d5384e1 100644 (file)
@@ -769,13 +769,6 @@ my $validate_email = sub { $_[0] =~
     'type'        => 'checkbox',
   },
   
     'type'        => 'checkbox',
   },
   
-  {
-    'key'         => 'no_saved_cardnumbers',
-    'section'     => 'credit_cards',
-    'description' => 'Do not allow credit card numbers to be written to the database.  Prevents realtime processing unless payment gateway supports tokenization.',
-    'type'        => 'checkbox',
-  },
-
   {
     'key'         => 'credit-card-surcharge-percentage',
     'section'     => 'credit_cards',
   {
     'key'         => 'credit-card-surcharge-percentage',
     'section'     => 'credit_cards',
@@ -2892,6 +2885,13 @@ and customer address. Include units.',
                      ],
   },
 
                      ],
   },
 
+  {
+    'key'         => 'selfservice-password_reset_hours',
+    'section'     => 'self-service',
+    'description' => 'Numbers of hours an email password reset is valid.  Defaults to 24.',
+    'type'        => 'text',
+  },
+
   {
     'key'         => 'selfservice-password_reset_msgnum',
     'section'     => 'self-service',
   {
     'key'         => 'selfservice-password_reset_msgnum',
     'section'     => 'self-service',