You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran into a problem using the package with the following configuration:
Custom user model
USERNAME_FIELD set as 'email'
When a user does not exist, he is correctly created but after logout and logging back in, he is not found anymore. The packages tries to create it but as he already exists with the same username, it crashes.
The mail is never set in the create_new_user method even if USERNAME_FIELD is set as email. Check here
I have been able to patch this behaviour using the following TRIGGER.CREATE_USER :