How to Handle Multi-Domain Authentication Inverse Relationships #248
-
Maybe I don't understand this yet, but does creating an ldap-model replace the standard Laravel User model? If so, and I create an Alpha\User and Bravo\User ldap model, how do you retrieve that model from the inverse relationship? The standard example would be getting a User from the a Post model.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @dereknutile!
No, LdapRecord models are only supposed to reference LDAP objects inside of your directory -- not database tables. They cannot be used as an Eloquent substitute. |
Beta Was this translation helpful? Give feedback.
Hi @dereknutile!
No, LdapRecord models are only supposed to reference LDAP objects inside of your directory -- not database tables. They cannot be used as an Eloquent substitute.