510f806 WebUI: improve passkey display

Authored and Committed by frenaud 10 months ago
    WebUI: improve passkey display
    
    The passkey is a long string and not user-friendly.
    Instead of showing the whole passkey in the webui, only show
    the id part and a string for discoverable or server-side passkey.
    
    Related: https://pagure.io/freeipa/issue/9261
    Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
    Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>