From a51cf1ff475cbdd1a94134f3e350659822b94fa4 Mon Sep 17 00:00:00 2001 From: Jakob Schrettenbrunner Date: Fri, 31 Mar 2017 12:26:57 +0200 Subject: [PATCH] remove ReCaptcha from views if it is disabled --- .../themes/pterodactyl/auth/login.blade.php | 16 +++++++++------- .../pterodactyl/auth/passwords/email.blade.php | 16 +++++++++------- 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/resources/themes/pterodactyl/auth/login.blade.php b/resources/themes/pterodactyl/auth/login.blade.php index 6cd087af..95e0461b 100644 --- a/resources/themes/pterodactyl/auth/login.blade.php +++ b/resources/themes/pterodactyl/auth/login.blade.php @@ -62,7 +62,7 @@
{!! csrf_field() !!} - +
@@ -72,10 +72,12 @@ @section('scripts') @parent - - + @if(config('recaptcha.enabled')) + + + @endif @endsection \ No newline at end of file diff --git a/resources/themes/pterodactyl/auth/passwords/email.blade.php b/resources/themes/pterodactyl/auth/passwords/email.blade.php index 080db3c8..199f1391 100644 --- a/resources/themes/pterodactyl/auth/passwords/email.blade.php +++ b/resources/themes/pterodactyl/auth/passwords/email.blade.php @@ -58,7 +58,7 @@
{!! csrf_field() !!} - +
@@ -67,10 +67,12 @@ @section('scripts') @parent - - + @if(config('recaptcha.enabled')) + + + @endif @endsection \ No newline at end of file