Skip to content

Commit 460c45e

Browse files
committed
Allow empty string in jailkit_chroot_authorized_keys_template #4901
1 parent 4e3feed commit 460c45e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/admin/form/server_config.tform.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1819,7 +1819,7 @@
18191819
'formtype' => 'TEXT',
18201820
'default' => '',
18211821
'validators' => array( 0 => array ( 'type' => 'REGEX',
1822-
'regex' => '/^[a-zA-Z0-9\.\-\_\/\ ]{1,}$/',
1822+
'regex' => '/^[a-zA-Z0-9\.\-\_\/\ ]*$/',
18231823
'errmsg'=> 'jailkit_chroot_authorized_keys_template_error_regex'),
18241824
),
18251825
'value' => '',

0 commit comments

Comments
 (0)