This repository was archived by the owner on Jul 24, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -88,11 +88,11 @@ protected function findUser()
8888 return $ query ->where (
8989 Resolver::getDatabaseIdColumn (),
9090 '= ' ,
91- $ this ->getObjectGuid ()
91+ $ this ->getUserObjectGuid ()
9292 )->orWhere (
9393 Resolver::getDatabaseUsernameColumn (),
9494 '= ' ,
95- $ this ->getUsername ()
95+ $ this ->getUserUsername ()
9696 )->first ();
9797 }
9898
@@ -107,7 +107,7 @@ protected function sync(Model $model)
107107 {
108108 // Set the users LDAP identifier.
109109 $ model ->setAttribute (
110- Resolver::getDatabaseIdColumn (), $ this ->getObjectGuid ()
110+ Resolver::getDatabaseIdColumn (), $ this ->getUserObjectGuid ()
111111 );
112112
113113 foreach ($ this ->getLdapSyncAttributes () as $ modelField => $ ldapField ) {
@@ -137,7 +137,7 @@ protected function sync(Model $model)
137137 *
138138 * @throws UnexpectedValueException
139139 */
140- protected function getUsername ()
140+ protected function getUserUsername ()
141141 {
142142 $ attribute = Resolver::getLdapDiscoveryAttribute ();
143143
@@ -159,7 +159,7 @@ protected function getUsername()
159159 *
160160 * @throws UnexpectedValueException
161161 */
162- protected function getObjectGuid ()
162+ protected function getUserObjectGuid ()
163163 {
164164 $ guid = $ this ->user ->getConvertedGuid ();
165165
You can’t perform that action at this time.
0 commit comments