Skip to content
Snippets Groups Projects
Commit c868adc1 authored by Till Brehm's avatar Till Brehm
Browse files

Fixed #5578

parent 2bbebeb3
No related branches found
No related tags found
No related merge requests found
......@@ -96,7 +96,7 @@ class shelluser_base_plugin {
return false;
}
if($data['new']['active'] != 'y') $data['new']['shell'] = '/bin/false';
if($data['new']['active'] != 'y' || $data['new']['chroot'] == "jailkit") $data['new']['shell'] = '/bin/false';
if($app->system->is_user($data['new']['puser'])) {
......
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