hotfix(configuration/settings): fix requirement for proton username and password
This commit is contained in:
@@ -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 == "":
|
||||
|
||||
Reference in New Issue
Block a user