forked from j62/ctbrec
1
0
Fork 0

Reenabled initial login on startup

This commit is contained in:
0xboobface 2018-07-25 13:40:05 +02:00
parent dedbc30a46
commit 8aad31965d
1 changed files with 8 additions and 6 deletions

View File

@ -2,6 +2,7 @@ package ctbrec.ui;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.util.Objects;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
@ -56,12 +57,13 @@ public class Launcher extends Application {
new Thread() { new Thread() {
@Override @Override
public void run() { public void run() {
// TODO enable this again if(!Objects.equals(System.getenv("CTBREC_DEV"), "1")) {
// try { try {
// client.login(); client.login();
// } catch (IOException e1) { } catch (IOException e1) {
// LOG.warn("Initial login failed" , e1); LOG.warn("Initial login failed" , e1);
// } }
}
}; };
}.start(); }.start();
} }