Skip to content

Commit

Permalink
(fix) #2 proxy-password popup now only triggers if both proxy and aut…
Browse files Browse the repository at this point in the history
…hentication are enabled, before only auth was checked
  • Loading branch information
jakobewaldsson committed Mar 6, 2023
1 parent 828110f commit cb3cac3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/jabref/gui/JabRefGUI.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public JabRefGUI(Stage mainStage, List<ParserResult> databases, boolean isBlank,
preferencesService.getInternalPreferences())
.checkForNewVersionDelayed();

if (preferencesService.getProxyPreferences().shouldUseAuthentication()){
if (preferencesService.getProxyPreferences().shouldUseProxy() && preferencesService.getProxyPreferences().shouldUseAuthentication()){
DialogService dialogService = Injector.instantiateModelOrService(DialogService.class);
dialogService.showPasswordDialogAndWait("Proxy configuration", "Proxy requires password","Password")
.ifPresent(newPassword -> {
Expand Down

0 comments on commit cb3cac3

Please sign in to comment.