{"action":"created","issue":{"url":"https://api.github.com/repos/Adldap2/Adldap2-Laravel/issues/42","labels_url":"https://api.github.com/repos/Adldap2/Adldap2-Laravel/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/Adldap2/Adldap2-Laravel/issues/42/comments","events_url":"https://api.github.com/repos/Adldap2/Adldap2-Laravel/issues/42/events","html_url":"https://github.com/Adldap2/Adldap2-Laravel/issues/42","id":124294894,"number":42,"title":"Disable New User Creation","user":{"login":"dgeyer263","id":7376911,"avatar_url":"https://avatars.githubusercontent.com/u/7376911?v=3","gravatar_id":"","url":"https://api.github.com/users/dgeyer263","html_url":"https://github.com/dgeyer263","followers_url":"https://api.github.com/users/dgeyer263/followers","following_url":"https://api.github.com/users/dgeyer263/following{/other_user}","gists_url":"https://api.github.com/users/dgeyer263/gists{/gist_id}","starred_url":"https://api.github.com/users/dgeyer263/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgeyer263/subscriptions","organizations_url":"https://api.github.com/users/dgeyer263/orgs","repos_url":"https://api.github.com/users/dgeyer263/repos","events_url":"https://api.github.com/users/dgeyer263/events{/privacy}","received_events_url":"https://api.github.com/users/dgeyer263/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-30T02:26:13Z","updated_at":"2015-12-30T02:58:44Z","closed_at":null,"body":"How can I tell Adldap2 to not create a new user in the users table when successful login, I want it to look at the users in the users table and only allow authentications of where the usernames from the users table match Active Directory, and update the records in-case of a AD communication issue using 'login_fallback' => true\r\n\r\nThanks for help in advance!"},"comment":{"url":"https://api.github.com/repos/Adldap2/Adldap2-Laravel/issues/comments/167923046","html_url":"https://github.com/Adldap2/Adldap2-Laravel/issues/42#issuecomment-167923046","issue_url":"https://api.github.com/repos/Adldap2/Adldap2-Laravel/issues/42","id":167923046,"user":{"login":"dgeyer263","id":7376911,"avatar_url":"https://avatars.githubusercontent.com/u/7376911?v=3","gravatar_id":"","url":"https://api.github.com/users/dgeyer263","html_url":"https://github.com/dgeyer263","followers_url":"https://api.github.com/users/dgeyer263/followers","following_url":"https://api.github.com/users/dgeyer263/following{/other_user}","gists_url":"https://api.github.com/users/dgeyer263/gists{/gist_id}","starred_url":"https://api.github.com/users/dgeyer263/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgeyer263/subscriptions","organizations_url":"https://api.github.com/users/dgeyer263/orgs","repos_url":"https://api.github.com/users/dgeyer263/repos","events_url":"https://api.github.com/users/dgeyer263/events{/privacy}","received_events_url":"https://api.github.com/users/dgeyer263/received_events","type":"User","site_admin":false},"created_at":"2015-12-30T02:58:44Z","updated_at":"2015-12-30T02:58:44Z","body":"I got it to work by modifying the src/AdldapAuthUserProvider.php\r\n\r\n\r\nprotected function getModelFromAdldap(User $user, $password)\r\n{\r\n....\r\n// Create the model instance of it isn't found.\r\n        //if (!$model instanceof Model) {\r\n        //    $model = $this->createModel();\r\n        //}\r\n        if(!$model){\r\n            return $model;\r\n        }\r\n....\r\n}\r\n\r\nHow can I override outside the vendor directory, due to updates overwriting the file!"}}