diff options
author | sgiehl <stefan@piwik.org> | 2016-12-05 23:08:15 +0300 |
---|---|---|
committer | sgiehl <stefan@piwik.org> | 2016-12-05 23:08:15 +0300 |
commit | c68bdc20c17d51e315f0b88701f3829e8d6108b4 (patch) | |
tree | 9e9ca4d9788e42b3a905890a66590e53cc66261a /plugins/API | |
parent | cbec998d78318539a206befc88ff9e696541da9a (diff) |
show token_auth only on click
Diffstat (limited to 'plugins/API')
-rw-r--r-- | plugins/API/templates/listAllAPI.twig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/API/templates/listAllAPI.twig b/plugins/API/templates/listAllAPI.twig index 258b74c49d..9aa2685881 100644 --- a/plugins/API/templates/listAllAPI.twig +++ b/plugins/API/templates/listAllAPI.twig @@ -20,7 +20,7 @@ <div piwik-content-block content-title="{{ 'API_UserAuthentication'|translate|e('html_attr') }}"> <p> {{ 'API_UsingTokenAuth'|translate('','',"")|raw }}<br/> - <pre piwik-select-on-focus id='token_auth'>&token_auth=<strong>{{ token_auth }}</strong></pre><br/> + <pre piwik-select-on-focus id='token_auth'>&token_auth=<strong piwik-show-sensitive-data="{{ token_auth }}" data-click-element-selector="#token_auth"></strong></pre><br/> {{ 'API_KeepTokenSecret'|translate('<b>','</b>')|raw }}<br /> {{ 'API_ChangeTokenHint'|translate('<a href="' ~ linkTo({ 'module': 'UsersManager', |