diff --git a/app/src/main/java/gr/thmmy/mthmmy/activities/BaseActivity.java b/app/src/main/java/gr/thmmy/mthmmy/activities/BaseActivity.java index 16054e5c..36924d18 100644 --- a/app/src/main/java/gr/thmmy/mthmmy/activities/BaseActivity.java +++ b/app/src/main/java/gr/thmmy/mthmmy/activities/BaseActivity.java @@ -215,7 +215,7 @@ public class BaseActivity extends AppCompatActivity { Response response = client.newCall(request).execute(); Document document = Jsoup.parse(response.body().string()); - Elements login = document.select("[value=Login]"); //Find login button + Elements login = document.select("[pageValue=Login]"); //Find login button ((PersistentCookieJar) getCookieJar()).clear(); if (!login.isEmpty()) { //If found, logout was successful Log.i("Logout", "Logout successful");