Merge pull request #1740 from sharelatex/spd-captcha-on-register

Don't add captcha fields to register form if captcha is disabled

GitOrigin-RevId: 7ac3a3b41734377243ac1e31a99b3778c9a2e77d
This commit is contained in:
Brian Gough 2019-05-02 10:29:10 +01:00 committed by sharelatex
parent 5049dc083e
commit f583ffdbff

View file

@ -425,7 +425,7 @@ module.exports = settings =
recaptcha:
disabled:
invite: true
register: false
register: true
customisation: {}
@ -543,4 +543,4 @@ module.exports = settings =
'table': [ 'border', 'class', 'id', 'style' ]
'td': [ 'colspan', 'rowspan', 'headers' ]
'th': [ 'abbr', 'headers', 'colspan', 'rowspan', 'scope', 'sorted' ]
'video': [ 'alt', 'class', 'controls', 'height', 'width' ]
'video': [ 'alt', 'class', 'controls', 'height', 'width' ]