Skip to content
Snippets Groups Projects
Commit 460c45e3 authored by Helmo's avatar Helmo
Browse files

Allow empty string in jailkit_chroot_authorized_keys_template #4901

parent 4e3feed1
No related branches found
No related tags found
No related merge requests found
......@@ -1819,7 +1819,7 @@ $form["tabs"]['jailkit'] = array(
'formtype' => 'TEXT',
'default' => '',
'validators' => array( 0 => array ( 'type' => 'REGEX',
'regex' => '/^[a-zA-Z0-9\.\-\_\/\ ]{1,}$/',
'regex' => '/^[a-zA-Z0-9\.\-\_\/\ ]*$/',
'errmsg'=> 'jailkit_chroot_authorized_keys_template_error_regex'),
),
'value' => '',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment