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

Merge pull request #803 from protich/issue/user-add


fix: User remote lookup on add new user

Reviewed-By: default avatarJared Hancock <jared@osticket.com>
parents 2a3b719f 3342e54b
No related branches found
No related tags found
No related merge requests found
...@@ -216,8 +216,9 @@ class UsersAjaxAPI extends AjaxController { ...@@ -216,8 +216,9 @@ class UsersAjaxAPI extends AjaxController {
$info['title'] = 'Add New User'; $info['title'] = 'Add New User';
$info['lookup'] = 'remote';
if (!AuthenticationBackend::getSearchDirectories()) if (!AuthenticationBackend::getSearchDirectories())
$info['lookup'] = 'local'; $info['lookup'] = false;
if ($_POST) { if ($_POST) {
$form = UserForm::getUserForm()->getForm($_POST); $form = UserForm::getUserForm()->getForm($_POST);
......
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