hotfix(configuration/settings): fix requirement for proton username and password

This commit is contained in:
Quentin McGaw
2025-11-13 21:58:46 +00:00
parent 8a0921748b
commit 30609b6fe9

View File

@@ -58,7 +58,7 @@ func (u Updater) Validate() (err error) {
}
if provider == providers.Protonvpn {
authenticatedAPI := *u.ProtonUsername == "" || *u.ProtonPassword == ""
authenticatedAPI := *u.ProtonUsername != "" || *u.ProtonPassword != ""
if authenticatedAPI {
switch {
case *u.ProtonUsername == "":