Skip to content

Commit 30609b6

Browse files
committed
hotfix(configuration/settings): fix requirement for proton username and password
1 parent 8a09217 commit 30609b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/configuration/settings/updater.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func (u Updater) Validate() (err error) {
5858
}
5959

6060
if provider == providers.Protonvpn {
61-
authenticatedAPI := *u.ProtonUsername == "" || *u.ProtonPassword == ""
61+
authenticatedAPI := *u.ProtonUsername != "" || *u.ProtonPassword != ""
6262
if authenticatedAPI {
6363
switch {
6464
case *u.ProtonUsername == "":

0 commit comments

Comments
 (0)