securesocial icon indicating copy to clipboard operation
securesocial copied to clipboard

BaseUserService : doSave(Identity user) called on login

Open johngouf opened this issue 13 years ago • 2 comments

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

johngouf avatar Mar 02 '13 20:03 johngouf

The save is actually a save or update call. And yes, it is called after a users signs in.

jaliss avatar Mar 04 '13 20:03 jaliss

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.

jaliss avatar Apr 21 '13 23:04 jaliss