FEATURE: move recaptcha config into core application
This commit is contained in:
@@ -28,8 +28,6 @@ class ContactFormServiceProvider extends ModuleServiceProvider
|
||||
*/
|
||||
public function register()
|
||||
{
|
||||
$registrator = $this->app->make('registerSettingsExtension');
|
||||
$registrator->register('contactForm', 'contactform::module.name', 'contactform::admin.settings.form');
|
||||
}
|
||||
|
||||
private function registerWidgets()
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
<?php
|
||||
return [
|
||||
"recaptchaSecret" => "Application secret kez pro reCaptcha",
|
||||
"recaptchaSiteKey" => "Site key pro reCaptcha",
|
||||
];
|
||||
@@ -1,5 +0,0 @@
|
||||
<?php
|
||||
return [
|
||||
'recaptchaSiteKey' => 'reCAPTCHA site key',
|
||||
'recaptchaSecret' => 'reCAPTCHA application secret key',
|
||||
];
|
||||
@@ -1,5 +0,0 @@
|
||||
<?php
|
||||
return [
|
||||
"recaptchaSecret" => "Application secret key pre reCaptcha",
|
||||
"recaptchaSiteKey" => "Site key pre reCaptcha",
|
||||
];
|
||||
@@ -1,13 +0,0 @@
|
||||
<label class="control-label">
|
||||
@lang('contactform::admin/settings.recaptchaSiteKey')
|
||||
</label>
|
||||
|
||||
<input class="form-control" type="text" name="recaptchaSiteKey" value="{{old('recaptchaSiteKey', isset($settings->recaptchaSiteKey) ? $settings->recaptchaSiteKey['val'] : '')}}" />
|
||||
|
||||
<label class="control-label">
|
||||
@lang('contactform::admin/settings.recaptchaSecret')
|
||||
</label>
|
||||
|
||||
<input class="form-control" type="text" name="recaptchaSecret" value="{{old('recaptchaSecret', isset($settings->recaptchaSecret) ? $settings->recaptchaSecret['val'] : '')}}" />
|
||||
|
||||
<em><a href="https://www.google.com/recaptcha/admin#list" target="_blank">reCAPTCHA</a></em>
|
||||
Reference in New Issue
Block a user