recover_password.php
Recover-with-code Form View.
Reset a password using a username + one-time recovery code (for accounts created without an email). Reuses the resetPasswordForm Alpine component for the new-password fields; username and recovery code are plain inputs.
Variables expected:
- $username: string Pre-filled username.
- $error: string|null Error message to display.
PHP version 8.1