master version

This commit is contained in:
Mieszko Wrzeszczyński 2019-01-12 20:23:03 +01:00
parent 0ec0e95798
commit 325f8a99a2
2 changed files with 5 additions and 5 deletions

View File

@ -148,10 +148,10 @@ public class LoginActivity extends AppCompatActivity {
}
private void loginProcess(String email, String password) {
//ValidateUser user = new ValidateUser(email, password);
LdapUser fakeUser = new LdapUser(email, password,"wmi","tutor",email,"Fałszywy",email);
//disposable.add(ldapService.validate(user)
disposable.add(ldapService.fakeValidate(fakeUser)
ValidateUser user = new ValidateUser(email, password);
// LdapUser fakeUser = new LdapUser(email, password,"wmi","tutor",email,"Fałszywy",email);
disposable.add(ldapService.validate(user)
//disposable.add(ldapService.fakeValidate(fakeUser)
.subscribeOn(Schedulers.io())
.observeOn(AndroidSchedulers.mainThread())
.subscribe(this::handleResponse, this::handleError));

View File

@ -6,7 +6,7 @@ import java.util.Arrays;
import java.util.List;
public class Const {
public final static String BASE_URL = "https://s416084.projektstudencki.pl/develop/";
public final static String BASE_URL = "https://s416084.projektstudencki.pl/master/";
public final static Integer mapRefreshInterval = 6000;
public final static Integer onlineBackgroundLocationInterval = 7000;
public final static Integer offlineBackgroundLocationInterval = 360000;