@@ -, +, @@ displayed again is shown. --- .../prog/en/modules/members/apikeys.tt | 24 +++++++++++++++++-- members/apikeys.pl | 7 ++++-- 2 files changed, 27 insertions(+), 4 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/apikeys.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/members/apikeys.tt @@ -34,6 +34,28 @@ [% INCLUDE 'members-toolbar.inc' %]

API keys for [% INCLUDE 'patron-title.inc' %]

+ + [% IF fresh_api_key %] + [%# A fresh api key was generated, display the secret, only once %] +
+ Make sure to copy your API secret now. You won’t be able to see it again! +
    +
  1. + Description: + [% fresh_api_key.description | html %] +
  2. +
  3. + Client ID: + [% fresh_api_key.client_id | html %] +
  4. +
  5. + Secret: + [% fresh_api_key.plain_text_secret | html %] +
  6. +
+
+ [% END %] +