Open sowinski opened 1 year ago
I know this is late, but looks like the logic behind it is to return an error when there's a password error, as django-allauth
's save_user()
by default will just set an unusable password.
You bring up a good point, and maybe this should be changed to user = adapter.save_user(request, user, self)
, which would then allow you to add actions in your adapter after saving the user object.
Hi,
I use Django Allauth in my projects and wanted to extend my website with this rest endpoint implementation.
In /dj_rest_auth/registration/serialziers.py you set line 263 the commit option to False. Why?
This beaks my code, because in my custom adapter i do some actions with the user object, but if commit=False I can not add a foreign key to a new objects which is created in my custom adapter.
Thank you