Initial commit - SoundWave v1.0
- Full PWA support with offline capabilities - Comprehensive search across songs, playlists, and channels - Offline playlist manager with download tracking - Pre-built frontend for zero-build deployment - Docker-based deployment with docker compose - Material-UI dark theme interface - YouTube audio download and management - Multi-user authentication support
This commit is contained in:
commit
51679d1943
254 changed files with 37281 additions and 0 deletions
19
backend/config/user_settings.py
Normal file
19
backend/config/user_settings.py
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
"""Settings for user registration and authentication"""
|
||||
|
||||
# Public registration disabled - only admins can create users
|
||||
ALLOW_PUBLIC_REGISTRATION = False
|
||||
|
||||
# Require admin approval for new users (future feature)
|
||||
REQUIRE_ADMIN_APPROVAL = False
|
||||
|
||||
# Minimum password requirements
|
||||
PASSWORD_MIN_LENGTH = 8
|
||||
PASSWORD_REQUIRE_UPPERCASE = True
|
||||
PASSWORD_REQUIRE_LOWERCASE = True
|
||||
PASSWORD_REQUIRE_NUMBERS = True
|
||||
PASSWORD_REQUIRE_SPECIAL = False
|
||||
|
||||
# Account security
|
||||
ENABLE_2FA = True
|
||||
MAX_LOGIN_ATTEMPTS = 5
|
||||
LOCKOUT_DURATION_MINUTES = 15
|
||||
Loading…
Add table
Add a link
Reference in a new issue