JorgenDIF / PP4-Riot-Rythm-Festival

The freedom of music
0 stars 1 forks source link

Bug Resolved: App crashes during new user registration due to typo in settings configuration #71

Open JorgenDIF opened 4 months ago

JorgenDIF commented 4 months ago

Description:

The application crashes when attempting to register a new user. The issue stems from a typo in the Django settings configuration where "ACCOUNT_EMAIL_VERTIFICATION" is mistakenly used instead of "ACCOUNT_EMAIL_VERIFICATION".

Steps to Reproduce:

Go to the user registration page. Fill in the registration form with valid user details. Submit the form. Observe that the application crashes instead of proceeding with the registration process. Expected Behavior: After submitting the registration form with valid information, the application should proceed to verify the user's email address and complete the registration process without crashing.

Actual Behavior:

The application crashes immediately upon form submission. The error logs indicate a misconfiguration in the settings due to a typo in the "ACCOUNT_EMAIL_VERIFICATION" setting.

"" Suggested Fix: Correct the typo in the settings file:

Change "ACCOUNT_EMAIL_VERTIFICATION" to "ACCOUNT_EMAIL_VERIFICATION". This correction should align with the expected configuration for Django's authentication system, allowing the email verification process to initiate correctly without causing the application to crash.

Additional Information:

Ensure that all relevant configuration files are reviewed to prevent similar issues. Consider adding a checklist or review process for changes in configuration settings to catch such typos before deployment.