diff --git a/resources/templates/provision/cisco/spa525g/{$mac}.xml b/resources/templates/provision/cisco/spa525g/{$mac}.xml
index 242aa418a9..fa3356656c 100644
--- a/resources/templates/provision/cisco/spa525g/{$mac}.xml
+++ b/resources/templates/provision/cisco/spa525g/{$mac}.xml
@@ -1661,12 +1661,18 @@
{foreach $keys["line"] as $row}
{if $row.device_key_category == "line"}
+{if $row.device_key_type == "line"}
{$row.device_key_line}
{$row.device_key_label}
{if $row.device_key_type == "shared"}shared{else}private{/if}
{$row.device_key_value}
+{else}
+Disabled
+{$row.device_key_label}
+{$row.device_key_value}
+{/if}
{/if}
{/foreach}