Files
ArchiveBox/archivebox/core
claude[bot] 2e1093f840 fix: Use CustomUserAdmin instead of Django's default UserAdmin to fix user creation bug
The bug was caused by importing Django's default UserAdmin instead of
CustomUserAdmin in admin.py. This bypassed all custom admin logic.

Additionally, CustomUserAdmin was modifying fieldsets without explicitly
preserving add_fieldsets, which can cause Django to not properly handle
the user creation form, leading to password hashing issues.

Changes:
- Updated admin.py to import and register CustomUserAdmin
- Explicitly set add_fieldsets in CustomUserAdmin to preserve Django's
  default user creation behavior and ensure passwords are properly hashed
- Added explanatory comments

Fixes #1707

Co-authored-by: Nick Sweeting <pirate@users.noreply.github.com>
2025-12-29 21:47:53 +00:00
..
wip
2025-12-28 17:51:54 -08:00
2024-11-18 04:27:37 -08:00
wip
2025-12-28 17:51:54 -08:00
wip
2025-12-28 17:51:54 -08:00
wip
2025-12-28 17:51:54 -08:00
2025-12-29 04:02:11 -08:00
wip
2025-12-28 17:51:54 -08:00
wip
2025-12-28 17:51:54 -08:00
wip
2025-12-28 17:51:54 -08:00
wip
2025-12-28 17:51:54 -08:00
2025-12-29 04:02:11 -08:00
2025-12-29 04:02:11 -08:00