From 69416dde96d1874a7e5289321dd62451f233784c Mon Sep 17 00:00:00 2001 From: Arpit Jalan Date: Thu, 14 Jan 2016 12:51:34 +0530 Subject: [PATCH] FIX: set minimum value for email_token_valid_hours setting --- config/site_settings.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/site_settings.yml b/config/site_settings.yml index 3fdaa0202a8..8102f9a7ebf 100644 --- a/config/site_settings.yml +++ b/config/site_settings.yml @@ -327,7 +327,9 @@ users: show_email_on_profile: client: true default: false - email_token_valid_hours: 24 + email_token_valid_hours: + default: 24 + min: 1 email_token_grace_period_hours: 0 purge_unactivated_users_grace_period_days: 7 public_user_custom_fields: