mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
parent
963072e184
commit
6ea1c81304
1 changed files with 4 additions and 0 deletions
|
|
@ -69,6 +69,10 @@ public class CustomMwApi {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setAuthCookie(String authCookie) {
|
public void setAuthCookie(String authCookie) {
|
||||||
|
if (authCookie == null) {//If the authCookie is null, no need to proceed
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
this.authCookie = authCookie;
|
this.authCookie = authCookie;
|
||||||
this.isLoggedIn = true;
|
this.isLoggedIn = true;
|
||||||
String[] cookies = authCookie.split(";");
|
String[] cookies = authCookie.split(";");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue