b5b285ebe6
- auth() only queries LocalUser table when multi_user_enabled=True - login() only shows signup link when multi_user_enabled AND allow_local_signup - signup page and POST endpoint both check multi_user_enabled first - Move local-auth imports to module level in auth.py (no re-import overhead) - Fix signup rollback: flush before email send, commit only on success - Update allow_local_signup config description to document prerequisite - Add test: single-user mode skips LocalUser table entirely - Patch multi_user_enabled=True on all local-login integration tests Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>