Skip to content
Snippets Groups Projects
Commit db645b15 authored by Jared Hancock's avatar Jared Hancock
Browse files

orgs: Show user search box adding user to org

parent fe622266
No related branches found
No related tags found
No related merge requests found
......@@ -123,9 +123,8 @@ class OrgsAjaxAPI extends AjaxController {
$info['action'] = '#orgs/'.$org->getId().'/add-user';
$info['onselect'] = 'ajax.php/orgs/'.$org->getId().'/add-user/';
$info['lookup'] = false;
if (AuthenticationBackend::getSearchDirectories())
$info['lookup'] = 'remote';
if (!AuthenticationBackend::getSearchDirectories())
$info['lookup'] = 'local';
if ($_POST) {
if ($_POST['id']) { //Existing useer
......
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