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()
88
88
return $ query ->where (
89
89
Resolver::getDatabaseIdColumn (),
90
90
'= ' ,
91
- $ this ->getObjectGuid ()
91
+ $ this ->getUserObjectGuid ()
92
92
)->orWhere (
93
93
Resolver::getDatabaseUsernameColumn (),
94
94
'= ' ,
95
- $ this ->getUsername ()
95
+ $ this ->getUserUsername ()
96
96
)->first ();
97
97
}
98
98
@@ -107,7 +107,7 @@ protected function sync(Model $model)
107
107
{
108
108
// Set the users LDAP identifier.
109
109
$ model ->setAttribute (
110
- Resolver::getDatabaseIdColumn (), $ this ->getObjectGuid ()
110
+ Resolver::getDatabaseIdColumn (), $ this ->getUserObjectGuid ()
111
111
);
112
112
113
113
foreach ($ this ->getLdapSyncAttributes () as $ modelField => $ ldapField ) {
@@ -137,7 +137,7 @@ protected function sync(Model $model)
137
137
*
138
138
* @throws UnexpectedValueException
139
139
*/
140
- protected function getUsername ()
140
+ protected function getUserUsername ()
141
141
{
142
142
$ attribute = Resolver::getLdapDiscoveryAttribute ();
143
143
@@ -159,7 +159,7 @@ protected function getUsername()
159
159
*
160
160
* @throws UnexpectedValueException
161
161
*/
162
- protected function getObjectGuid ()
162
+ protected function getUserObjectGuid ()
163
163
{
164
164
$ guid = $ this ->user ->getConvertedGuid ();
165
165
You can’t perform that action at this time.
0 commit comments