mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 14:09:20 -04:00
Let the API handle setting the default free allowance.
The API has a method to handle setting the default SMS free allowance. This will save a call to the API and remove some code duplication between the two apps. Needs to be merged after https://github.com/alphagov/notifications-api/pull/3197
This commit is contained in:
@@ -32,16 +32,7 @@ class Config(object):
|
||||
ASSETS_DEBUG = False
|
||||
AWS_REGION = 'eu-west-1'
|
||||
DEFAULT_SERVICE_LIMIT = 50
|
||||
DEFAULT_FREE_SMS_FRAGMENT_LIMITS = {
|
||||
'central': 150_000,
|
||||
'local': 25_000,
|
||||
'nhs_central': 150_000,
|
||||
'nhs_local': 25_000,
|
||||
'nhs_gp': 10_000,
|
||||
'emergency_service': 25_000,
|
||||
'school_or_college': 10_000,
|
||||
'other': 10_000,
|
||||
}
|
||||
|
||||
EMAIL_EXPIRY_SECONDS = 3600 # 1 hour
|
||||
INVITATION_EXPIRY_SECONDS = 3600 * 24 * 2 # 2 days - also set on api
|
||||
EMAIL_2FA_EXPIRY_SECONDS = 1800 # 30 Minutes
|
||||
|
||||
Reference in New Issue
Block a user