securesocial
securesocial copied to clipboard
BaseUserService : doSave(Identity user) called on login
Hi there,
I have noticed that with the email registration when the user logs in, the method doSave(Identity user) is called again. Is it the predicted behaviour, because it might not cause any problem with the HashMap used, but it creates problems when persisting the users in a database.
Thanks a lot
The save is actually a save or update call. And yes, it is called after a users signs in.
Actually, I think something can be done to prevent that call in the case of that provider. It makes no sense to make extra save call.