Answer the question
In order to leave comments, you need to log in
How to add a field and data from another table when registering a user?
There is an Administrator user, how can you implement user registration and a device (so that when creating a user, the device for the user of which we register is saved)
Answer the question
In order to leave comments, you need to log in
In migrations, add a field like user_agent to the Users table. And the user-agent can be obtained by JS via navigator.userAgent and passed to the request, or via PHP $_SERVER['HTTP_USER_AGENT'].
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question