2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-17 18:26:32 +00:00

feat(backend): improve comms around registration (#9932)

* use better email check

* add error code for missing email settings

* Add note when not registration is enabled

* fix wrong call

* fix tests - might be worth checking if the blank check for testing is a good idea

* capture issues and print to find out what the duck is going on

* exend log

* fix context check
This commit is contained in:
Matthias Mair
2025-07-13 01:20:45 +02:00
committed by GitHub
parent a2e06d1fee
commit b351fb7483
6 changed files with 37 additions and 6 deletions

View File

@@ -131,6 +131,16 @@ Collective exception for errors that occur during mail delivery. This might be c
These issues are raised directly from the mail backend so it is unlikely that the error is caused by django or InvenTree itself.
Check the logs for more information.
#### INVE-W11
**Registration cannot be enabled because of email settings - Backend**
Registration was enabled but the email settings are not configured correctly. This might lead to issues with user registration, password reset and other authentication features that require email.
Therefore the registration user interface elements will not be shown.
To enable registration, the email settings must be configured correctly. See [email configuration](../start/config.md#email-settings).
### INVE-I (InvenTree Information)
Information — These are not errors but information messages. They might point out potential issues or just provide information.