Skip to content

Commit

Permalink
FIX: set max value for purge_unactivated_users_grace_period_days setting
Browse files Browse the repository at this point in the history
  • Loading branch information
arpitjalan committed Jan 27, 2017
1 parent c76f685 commit 74a46dc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion config/site_settings.yml
Expand Up @@ -389,7 +389,10 @@ users:
email_token_valid_hours:
default: 48
min: 1
purge_unactivated_users_grace_period_days: 14
purge_unactivated_users_grace_period_days:
default: 14
min: 0
max: 20000
public_user_custom_fields:
type: list
default: ''
Expand Down

2 comments on commit 74a46dc

@coding-horror
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All basic integer settings should have this check imo

@arpitjalan
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've fixed this for all settings asking for days via 1d2dced. Will fix for other types as well.

Please sign in to comment.