mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-30 20:55:42 +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:
		| @@ -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. | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user