diff --git a/app/View/Events/automation.ctp b/app/View/Events/automation.ctp index c1b81f9f3..bbc438653 100644 --- a/app/View/Events/automation.ctp +++ b/app/View/Events/automation.ctp @@ -1,3 +1,6 @@ +

%s. You can %s this key.', - $me['authkey'], - $this->Form->postLink( - __('reset'), - array('controller' => 'users', 'action' => 'resetauthkey', 'me'), - array('div' => false) - ) - ); + if (empty(Configure::read('Security.advanced_authkeys'))) { + echo __( + 'Your current key is: %s. You can %s this key.', + $me['authkey'], + $this->Form->postLink( + __('reset'), + array('controller' => 'users', 'action' => 'resetauthkey', 'me'), + array('div' => false) + ) + ); + } else { + echo __( + 'You can view and manage your API keys under your profile, found %s', + sprintf( + '%s', + $baseurl, + __('here') + ) + ); + } ?> JSON:

@@ -138,7 +152,7 @@

XML:

@@ -303,7 +317,7 @@ URL:
Headers: