Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to add additional parameters when registering a new user? #226

Closed
cosmastech opened this issue Mar 25, 2019 · 3 comments
Closed
Labels

Comments

@cosmastech
Copy link

My client requires that when a user is created, they need to also have some other parameters recorded (first name and last name, for instance). Is this possible? What would be the best way to handle it? I didn't see anyway to extend/override the user registration class.

@alexfok007
Copy link

Currently my solution is created a new connection to connecting fusio database. (Dont know why "system" connection blocked fusio data table by default.)

In the route connect to fusio db and my Apps db . Do copy user id, name , email to my Apps database if not exist.

@chriskapp
Copy link
Member

Hi, this is a request which we receive often and I think we should implement a general soluton so that its easy to extend the existing user table with additional columns. Currently as workaroung you can use the way which @alexfok007 described.

Currently my solution is created a new connection to connecting fusio database. (Dont know why "system" connection blocked fusio data table by default.)

@alexfok007 we do this to handle the migrations properly. If you execute a migration on the System connection you only want to change the tables of your app and not the tables of Fusio.

@chriskapp
Copy link
Member

The latest release contains now a feature called user attributes which allows to define arbitrary attributes for a user. More information at our manual: https://fusio.readthedocs.io/en/latest/concept/user_attributes.html
Therefor I will close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants