Refactor authentication settings and enhance frontend moderation panel with performance optimizations, loading states, error handling, mobile responsiveness, and accessibility improvements

This commit is contained in:
pacnpal
2025-02-06 14:20:12 -05:00
parent 7d25d6f992
commit 323aa561a5
14 changed files with 1728 additions and 61 deletions

View File

@@ -162,7 +162,7 @@ AUTHENTICATION_BACKENDS = [
SITE_ID = 1
ACCOUNT_EMAIL_REQUIRED = True
ACCOUNT_USERNAME_REQUIRED = True
ACCOUNT_AUTHENTICATION_METHOD = "username_email"
ACCOUNT_LOGIN_METHODS = {'email', 'username'}
ACCOUNT_EMAIL_VERIFICATION = "optional"
LOGIN_REDIRECT_URL = "/"
ACCOUNT_LOGOUT_REDIRECT_URL = "/"