0002-settings-add-supported-phone-country-codes-69221.patch
src/authentic2/settings.py | ||
---|---|---|
372 | 372 |
SELECT2_JS = '/static/xstatic/select2.min.js' |
373 | 373 |
SELECT2_CSS = '/static/xstatic/select2.min.css' |
374 | 374 | |
375 |
# Phone prefixes by country for phone number as authentication identifier |
|
376 |
PHONE_COUNTRY_CODES = { |
|
377 |
'32': 'BE', # Belgium |
|
378 |
'33': 'FR', # Metropolitan France |
|
379 |
'262': 'FR', # Réunion |
|
380 |
'508': 'FR', # Saint Pierre and Miquelon |
|
381 |
'590': 'FR', # Guadeloupe |
|
382 |
'594': 'FR', # French Guiana |
|
383 |
'596': 'FR', # Martinique |
|
384 |
} |
|
385 | ||
375 | 386 |
# |
376 | 387 |
# Load configuration file |
377 | 388 |
# |
378 |
- |