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
{{ message }}
Repository navigation
Users created via Admin Center never receive password reset emails (missing allauth EmailAddress record) #12733
Please verify that this bug has NOT been raised before.
I checked and didn't find a similar issue
Describe the bug*
Creating a user through the Admin Center (or Django admin) sets User.email, but does not create a corresponding allauth EmailAddress record. The password reset flow is handled by django-allauth, which looks up users only via the EmailAddress table — so for any admin-created user, requesting a password reset reports "email sent" (the anti-enumeration message) while no email is generated at all. Nothing appears in the outgoing email log (Email Messages), which makes this very hard to diagnose; email itself works fine (test emails send normally).
On my instance, only one user (created via a signup flow long ago) had an EmailAddress record — every user created via the admin since then was silently unable to reset their password.
Steps to Reproduce
Configure working outgoing email; verify with a test email.
As an admin, create a new user via the Admin Center, filling in the email address.
Log out; on the login page use "Reset password" with that user's email address.
The UI reports the email was sent; no email arrives, and no message is recorded in Email Messages.
In Django admin → Accounts → Email addresses, observe the new user has no entry. Manually adding one (verified/primary) makes the reset flow work immediately.
Expected behaviour
Either user creation should create a matching EmailAddress record, or the password reset flow should fall back to User.email when no EmailAddress record exists. A silent no-op behind a success message is the worst of both worlds.
Deployment Method
Docker
Version Information
InvenTree 1.3.3 (API 477), Docker production compose stack, debug off.
Please verify if you can reproduce this bug on the demo site.
I can reproduce this bug on the demo site.
(Not verifiable on the demo site: reproducing requires working outgoing email + access to the email log. The missing EmailAddress record on admin-created users can be observed there, however.)
Understood. My apologies. I thought Claude was just going to draft, didn't realize it posted it. It's a legit issue I ran into. But I'll review the template and make sure I follow the format next chance I get. Thanks for your patience.
Activity
matmair commentedon Aug 28, 2026
No full version information provided
matmair commentedon Sep 7, 2026
@AtlavoxDev I will not work on this till the template is filled out properly
AtlavoxDev commentedon Sep 7, 2026
Understood. My apologies. I thought Claude was just going to draft, didn't realize it posted it. It's a legit issue I ran into. But I'll review the template and make sure I follow the format next chance I get. Thanks for your patience.
fix: users created via Admin Center never receive password reset emai…
fix: users created via Admin Center never receive password reset emai…