Don't inject recaptcha element if recaptcha is not enabled

This commit is contained in:
James Allen 2017-12-11 12:04:33 +00:00
parent 83086e4a79
commit 0b03bbc7c3

View file

@ -102,6 +102,7 @@ script(type='text/ng-template', id='shareProjectModalTemplate')
i.fa.fa-times
.row.invite-controls
form(ng-show="canAddCollaborators")
- if (settings.recaptcha)
div(
id="recaptcha"
class="g-recaptcha"