namespace VoiceCat.App.Forms;

/// <summary>Small modal for "type a password right now" — used when a saved server's
/// password wasn't remembered, and (Phase E) for password-protected channel joins.</summary>
public partial class PasswordPromptDialog : Form
{
    public string Password => txtPassword.Text;

    public PasswordPromptDialog(string promptText)
    {
        InitializeComponent();
        lblPrompt.Text = promptText;
        txtPassword.AccessibleName = "Password";
    }
}
