mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-06 10:20:43 +00:00
captcha: Add flite tts for accessibility
Signed-off-by: Joseph Nuthalpati <njoseph@thoughtworks.com> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
6e26c92441
commit
d3c428d58b
@ -245,6 +245,7 @@ def configure_django():
|
||||
{'BACKEND': 'django.core.cache.backends.dummy.DummyCache'}},
|
||||
CAPTCHA_FONT_PATH=['/usr/share/fonts/truetype/ttf-bitstream-vera/Vera.ttf'],
|
||||
CAPTCHA_LENGTH=6,
|
||||
CAPTCHA_FLITE_PATH='/usr/bin/flite',
|
||||
DATABASES={'default':
|
||||
{'ENGINE': 'django.db.backends.sqlite3',
|
||||
'NAME': cfg.store_file}},
|
||||
|
||||
@ -29,7 +29,7 @@ depends = ['security', 'apache']
|
||||
|
||||
name = _('Single Sign On')
|
||||
|
||||
managed_packages = ['libapache2-mod-auth-pubtkt', 'openssl', 'python3-openssl']
|
||||
managed_packages = ['libapache2-mod-auth-pubtkt', 'openssl', 'python3-openssl', 'flite']
|
||||
|
||||
|
||||
def setup(helper, old_version=None):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user