Koha/koha-tmpl/intranet-tmpl/prog
Tomas Cohen Arazi da758626fe Bug 28772: Display API secret once
This patch makes the apikeys.pl display the generated API secret once,
when generated. After that, it won't be displayed by the UI.

To test:
1. Generate a new API key
=> FAIL: The secret is displayed in the API keys table
2. Visit some other page, and go back to the API keys page
=> FAIL: The API key secret is there
3. Apply this patch
4. Go to More > Manage API keys
=> SUCCESS: It no longer displays the secret
5. Generate a new API key
=> SUCCESS: The API key details (including the secret) are displayed.
=> SUCCESS: A message telling to copy the secret because it won't be
            displayed again is shown.
6. Repeat 4
=> SUCCESS: The secret is no longer displayed
7. Sign off :-D

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-09-30 09:19:05 +02:00
..
css Bug 28937: Compiled CSS 2021-09-29 12:47:33 +02:00
en Bug 28772: Display API secret once 2021-09-30 09:19:05 +02:00
img Bug 27523: Adding new itemtype lock image to carredart 2021-08-18 16:28:25 +02:00
js Bug 28937: Use Flatpickr on circulation and patron pages 2021-09-29 12:47:33 +02:00
pdf
sound