-
Notifications
You must be signed in to change notification settings - Fork 145
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
AddUser and password #509
Comments
To add user you can call 'register' method. As for the solution for |
Thank you for answer. |
Hi,
I think that now it's impossible to create user with addUser API's Method.
If you look into DataServiceImpl code, there is if which requires login and password to create user (from User.java model).
But User.java's password has JsonIgnore annotation.
So when I send request to AddUser with password, model doesn't use that field and throws exception on mentioned "if". It can be solved by deleting this annotation (methods works then), but IMO it's bad solution (unsafe).
Is there different method to use this method and I'm doing something incorrect?
Greetings
Piotr - franiis
The text was updated successfully, but these errors were encountered: