Werk #15927: Fix copy of random secret to clipboard

Component Setup
Title Fix copy of random secret to clipboard
Date Jul 24, 2023
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.2.0p8 2.3.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

In some environments, the button "Create random secret and copy secret to clipboard" of the option "Automation secret for machine accounts" on the users page did not copy the secret to the clipboard.

We now use a fallback mechanism if the standard fails. If even the fallback fails you will see a dialog were you can copy the secret manually.

To the list of all Werks