Missing $users->findByKey() on reference page
Closed this issue · 2 comments
floriankuek commented
distantnative commented
It's an internal method and thus not documented. Any reason why you don't want to use just $user->find()
?
floriankuek commented
Gotcha. I definitely missed that. I use $user = kirby()->users()->findByKey($email);
to determine if the provided email on login belongs to an already existing local user. If nothing is being returned I then query AD.