3 ms·
- Do you SaveUser to the database directly or do I have to somehow call something to validate the transaction ? - Once it’s saved, can I continue to use my User
by pjerem 5y ago
- Do you SaveUser to the database directly or do I have to somehow call something to validate the transaction ?
- Once it’s saved, can I continue to use my User model or should I fetch the more complete one from the database ?
- Does this even SaveUser to the database or on a temporary structure that will be fetched by our UserCreationBot ?
- Does SaveUser checks if the username already exists or should I check myself before calling it ?
- Does SaveUser checks that current user is allowed to create new users or should I check it before ?
- What happens if SaveUser is called with a User with an empty password ? Does it means that the input is wrong or am I legitimately creating a user that can’t login?
- jaywalk 5y agoCheck the code of the SaveUser method.