You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 24, 2023. It is now read-only.
I just wanted to know if it is possible to sync user details to another table other than users. For example, if one is implementing polymorphic relations and uses the users table and thus the User model, to only store details necessary for authentication e.g email, username etc. How would one then sync e.g the name,office number etc., to a child model?
Kind Regards.
The text was updated successfully, but these errors were encountered:
So for example, if you had a user_details one to one relationship, the easiest way would be to use the bind_user_to_model option and set it to true. Then after authentication, you could grab the details and save them to the relationship model.
Another option, is to override one of the trait methods such as syncModelFromAdldap(), since you'll have both the laravel model and the LDAP user model in the same method to perform synchronization.
Good Day,
I just wanted to know if it is possible to sync user details to another table other than users. For example, if one is implementing polymorphic relations and uses the users table and thus the User model, to only store details necessary for authentication e.g email, username etc. How would one then sync e.g the name,office number etc., to a child model?
Kind Regards.
The text was updated successfully, but these errors were encountered: