getConfiguration(); if (isset($configuration['ldap_agent_password']) && $configuration['ldap_agent_password'] !== '') { // hide password $configuration['ldap_agent_password'] = '**PASSWORD SET**'; } \OC_JSON::success(['configuration' => $configuration]);