Skip to content
Snippets Groups Projects
Unverified Commit 1cd6b736 authored by Eileen McNaughton's avatar Eileen McNaughton Committed by GitHub
Browse files

Merge pull request #21017 from totten/5.40-captcha-link

#2728 - ReCAPTCHA - Consistently present link to settings
parents e59d0da0 5a224484
No related branches found
No related tags found
No related merge requests found
......@@ -127,7 +127,7 @@ function recaptcha_civicrm_entityTypes(&$entityTypes) {
* Implements hook_civicrm_navigationMenu().
*/
function recaptcha_civicrm_navigationMenu(&$menu) {
_recaptcha_civix_insert_navigation_menu($menu, 'Administer/Customize Data and Screens', [
_recaptcha_civix_insert_navigation_menu($menu, 'Administer/System Settings', [
'label' => E::ts('reCAPTCHA Settings'),
'name' => 'recaptcha_settings',
'url' => 'civicrm/admin/setting/recaptcha',
......
......@@ -3,7 +3,9 @@
<item>
<path>civicrm/admin/setting/recaptcha</path>
<title>reCAPTCHA Settings</title>
<desc>Configure anti-abuse/bot-prevention service</desc>
<page_callback>CRM_Admin_Form_Generic</page_callback>
<access_arguments>administer CiviCRM</access_arguments>
<adminGroup>System Settings</adminGroup>
</item>
</menu>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment