Require a completed authenticated role for TOTP management and verify the current password before removing a TOTP secret.
See #1129 and #1128
thanks @TrapoSAMA
Reject password-only XML-RPC authentication for mailbox accounts that require TOTP while preserving existing behavior for accounts without TOTP.
This ports PR #1131 with PHP 7.4 compatibility and includes the documented XML-RPC/TOTP limitation requested during master review.
Refs #1128
thanks @TrapoSAMA