diff --git a/resources/templates/provision/fanvil/x6/{$mac}.cfg b/resources/templates/provision/fanvil/x6/{$mac}.cfg
index cec4b5bd6d..5f577a8ab4 100644
--- a/resources/templates/provision/fanvil/x6/{$mac}.cfg
+++ b/resources/templates/provision/fanvil/x6/{$mac}.cfg
@@ -88,7 +88,13 @@
{$auth_id_1}
{$user_password_1}
3600
+
+ {if isset($user_password_1) }
1
+ {else}
+ 0
+ {/if}
+
5060
@@ -222,7 +228,13 @@
{$auth_id_2}
{$user_password_2}
3600
+
+ {if isset($user_password_2) }
1
+ {else}
+ 0
+ {/if}
+
5060
@@ -356,7 +368,13 @@
{$auth_id_3}
{$user_password_3}
3600
+
+ {if isset($user_password_3) }
1
+ {else}
+ 0
+ {/if}
+
5060
@@ -490,7 +508,13 @@
{$auth_id_4}
{$user_password_4}
3600
+
+ {if isset($user_password_4) }
1
+ {else}
+ 0
+ {/if}
+
5060
@@ -624,7 +648,13 @@
{$auth_id_5}
{$user_password_5}
3600
+
+ {if isset($user_password_5) }
1
+ {else}
+ 0
+ {/if}
+
5060
@@ -758,7 +788,13 @@
{$auth_id_6}
{$user_password_6}
3600
+
+ {if isset($user_password_6) }
1
+ {else}
+ 0
+ {/if}
+
5060