Introduces two-factor authentication (2FA) with TOTP, backup codes, and email codes. Adds controllers, services, views, and migration for 2FA setup, verification, and management. Updates user and settings models, email helper, and relevant controllers to support 2FA policy enforcement, configuration, and user flows. Enhances security by allowing admins to require or disable 2FA, and provides backup code generation and management for account recovery.
Database Migrations
Fresh Installation (v1.1.0+)
For new installations, use the consolidated schema:
000_initial_schema_v1.1.0.sql- Complete database schema for v1.1.0
Install via: Web installer at /install
Incremental Migrations (v1.0.0 → v1.1.0)
If upgrading from v1.0.0, these incremental migrations will be applied:
001_create_tables.sql- Core tables (domains, groups, channels, logs)002_create_users_table.sql- Users table003_add_whois_fields.sql- WHOIS data fields004_create_tld_registry_table.sql- TLD registry005_update_tld_import_logs.sql- Import logs updates006_add_complete_workflow_import_type.sql- Workflow import type007_add_app_and_email_settings.sql- Application settings008_add_notes_to_domains.sql- Domain notes field009_add_authentication_features.sql- Authentication system010_add_app_version_setting.sql- Version setting011_create_sessions_table.sql- Session management table012_link_remember_tokens_to_sessions.sql- Remember token session linking013_create_user_notifications_table.sql- User notifications table014_add_captcha_settings.sql- CAPTCHA settings (v2, v3, Turnstile)015_create_error_logs_table.sql- Error logging and debugging system016_add_tags_to_domains.sql- Domain tags for organization
Upgrade via: Web updater at /install/update
Migration System
The installer automatically:
- Detects if this is a fresh install or upgrade
- Uses consolidated schema for fresh installs
- Uses incremental migrations for upgrades
- Tracks executed migrations in
migrationstable - Prevents re-running completed migrations