Skip to content

Commit 049362a

Browse files
author
AJ Christensen
committed
CHEF-758: WebUI doesn't use preformatted output for keys
1 parent aa9e71e commit 049362a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

chef-server-webui/app/views/clients/show.html.haml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
= @client.admin
1111
.left
1212
%h3 Public Key
13-
= @client.public_key
13+
%pre= @client.public_key
1414
-unless @private_key.nil?
1515
.left
1616
%h3 Private Key (Will not show again, Please copy!)
1717
%h4.bold Please copy and save as the client's validation key (e.g. client.pem)
18-
= @private_key.to_s
18+
%pre= @private_key.to_s
1919

2020

0 commit comments

Comments
 (0)