Reenabled initial login on startup
This commit is contained in:
parent
dedbc30a46
commit
8aad31965d
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue