Commit daf9ba53 authored by chrisch1974's avatar chrisch1974

ldap: usermanager: disable username and descr field for ldap users

parent 1e46db3c
......@@ -515,7 +515,7 @@ function import_ldap_users() {
<table class="table table-striped table-sort">
<?php
$ro = "";
if ($pconfig['utype'] == "system") {
if ($pconfig['utype'] == "system" || !empty($pconfig['user_dn'])) {
$ro = "readonly=\"readonly\"";
}
?>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment