- {if {env('NOCAPTCHA_ENABLED')} == 1 && !empty({env('NOCAPTCHA_SITEKEY')}) && !empty({env('NOCAPTCHA_SECRET')})}
+ {if {config('captcha.enabled')} == 1 && !empty({config('captcha.sitekey')}) && !empty({config('captcha.secret')})}
{NoCaptcha::display()}{NoCaptcha::renderJs()}
{/if}
diff --git a/resources/views/themes/Gentele/login.tpl b/resources/views/themes/Gentele/login.tpl
index 3dd559f7a..acf4cb344 100755
--- a/resources/views/themes/Gentele/login.tpl
+++ b/resources/views/themes/Gentele/login.tpl
@@ -29,7 +29,7 @@
name="rememberme" type="checkbox"> Remember Me
- {if {env('NOCAPTCHA_ENABLED')} == 1 && !empty({env('NOCAPTCHA_SITEKEY')}) && !empty({env('NOCAPTCHA_SECRET')})}
+ {if {config('captcha.enabled')} == 1 && !empty({config('captcha.sitekey')}) && !empty({config('captcha.secret')})}
{NoCaptcha::display()}{NoCaptcha::renderJs()}
{/if}
diff --git a/resources/views/themes/Gentele/register.tpl b/resources/views/themes/Gentele/register.tpl
index d7f24455a..917875881 100755
--- a/resources/views/themes/Gentele/register.tpl
+++ b/resources/views/themes/Gentele/register.tpl
@@ -57,7 +57,7 @@
- {if {env('NOCAPTCHA_ENABLED')} == 1 && !empty({env('NOCAPTCHA_SITEKEY')}) && !empty({env('NOCAPTCHA_SECRET')})}
+ {if {config('captcha.enabled')} == 1 && !empty({config('captcha.sitekey')}) && !empty({config('captcha.secret')})}
{NoCaptcha::display()}{NoCaptcha::renderJs()}
{/if}