-
-
Notifications
You must be signed in to change notification settings - Fork 16
Description
Configuration wizard fails to save on Windows after default config creation
I’ve run into a reproducible issue on Windows that prevents the configuration wizard from ever saving successfully when starting from a freshly created default config.
When running pvetui 1.0.15 on Windows, if you accept the initial prompts to (1) create a default configuration file and then (2) launch the interactive configuration wizard, the wizard fails validation on save. The error indicates that no authentication method was provided, even though valid credentials were entered.
It appears the wizard is validating against the initially generated default config content rather than the values entered in the interactive editor.
Steps to reproduce
- Install
pvetui1.0.15 on Windows using Scoop. - Open PowerShell and run
pvetuiwith no parameters. - At the prompt “Would you like to create a default configuration file?”, select
Y. - At the prompt “Would you like to edit the new config in the interactive editor?”, select
Y. - In the configuration form, provide either:
- a password, or
- a
token_idandtoken_secret.
- Select Save.
- Observe the error dialog:
“You must provide either a password or a token for authentication.”
Expected behavior
The configuration wizard should accept valid authentication input and successfully save the configuration.
Actual behavior
The wizard always fails validation with the authentication error, making it impossible to save the config through the interactive editor.
Environment
- OS: Windows 11 25H2
- Installation method: Scoop
- Version: pvetui 1.0.15
Let me know if you’d like me to test a patch or provide additional logs.