Skip to content

Commit 7e8cdce

Browse files
committed
- bug fix in batch list
1 parent 006915e commit 7e8cdce

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main/java/io/beanvortex/bitkip/controllers/BatchList.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,8 @@ private List<DownloadModel> createDownloads(List<LinkModel> links) {
245245
for (int i = 0; i < links.size(); i++) {
246246
var lm = links.get(i);
247247
var dm = new DownloadModel();
248-
if (credentials == null)
248+
if (credentials == null && authenticatedCheck.isSelected()
249+
&& !usernameField.getText().isBlank() && !passwordField.getText().isBlank())
249250
credentials = new Credentials(usernameField.getText(), passwordField.getText());
250251
dm.setCredentials(credentials);
251252
dm.setUri(lm.getUri());

0 commit comments

Comments
 (0)