* Handled null auth cookies
This commit is contained in:
Ashish Kumar 2019-03-23 18:26:11 +05:30 committed by Vivek Maskara
parent 963072e184
commit 6ea1c81304

View file

@ -69,6 +69,10 @@ public class CustomMwApi {
}
public void setAuthCookie(String authCookie) {
if (authCookie == null) {//If the authCookie is null, no need to proceed
return;
}
this.authCookie = authCookie;
this.isLoggedIn = true;
String[] cookies = authCookie.split(";");