mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00
settings: add settings for CAPTCHA accessibility
To enable audio support for django-simple-captcha for accessibility purposes, you need to provide the full paths to the flite and sox binaries, so add these settings (commented out by default to avoid extra dependencies for those that don't need it). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
parent
4acb0b2c91
commit
0bfb98971c
|
@ -238,6 +238,10 @@ RABBIT_BACKEND = 'rpc://layersrabbit/'
|
||||||
# Used for fetching repo
|
# Used for fetching repo
|
||||||
PARALLEL_JOBS = "4"
|
PARALLEL_JOBS = "4"
|
||||||
|
|
||||||
|
# Install flite & sox and set these to enable audio for CAPTCHA challenges (for accessibility)
|
||||||
|
#CAPTCHA_FLITE_PATH = "/usr/bin/flite"
|
||||||
|
#CAPTCHA_SOX_PATH = "/usr/bin/sox"
|
||||||
|
|
||||||
# Full path to directory to store logs for dynamically executed tasks
|
# Full path to directory to store logs for dynamically executed tasks
|
||||||
TASK_LOG_DIR = "/tmp/layerindex-task-logs"
|
TASK_LOG_DIR = "/tmp/layerindex-task-logs"
|
||||||
|
|
||||||
|
|
|
@ -237,6 +237,10 @@ RABBIT_BACKEND = 'rpc://'
|
||||||
# Used for fetching repo
|
# Used for fetching repo
|
||||||
PARALLEL_JOBS = "4"
|
PARALLEL_JOBS = "4"
|
||||||
|
|
||||||
|
# Install flite & sox and set these to enable audio for CAPTCHA challenges (for accessibility)
|
||||||
|
#CAPTCHA_FLITE_PATH = "/usr/bin/flite"
|
||||||
|
#CAPTCHA_SOX_PATH = "/usr/bin/sox"
|
||||||
|
|
||||||
# Full path to directory to store logs for dynamically executed tasks
|
# Full path to directory to store logs for dynamically executed tasks
|
||||||
TASK_LOG_DIR = "/tmp/layerindex-task-logs"
|
TASK_LOG_DIR = "/tmp/layerindex-task-logs"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user