mirror of
https://github.com/rommapp/romm.git
synced 2026-11-28 17:48:31 +01:00
pr-ready step 3 (simplify). The confirmation now rides the one apply_user_update transaction, guarded by expected_email, so a later 400 or 403 rolls it back and the edit audit sees it without a post-write patch. update_user resets trust whenever it writes an email the caller doesn't vouch for, replacing trust_email. Tests share the dialog's apply, save and emailField helpers, and drop two redundant local imports. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>