apps-android-commons/app
Kaartic Sivaraam 69cd9c94d1
Make sure to clear cookies on logout (#5727)
* Ensure to clear the cookies when logging out

It turns out that we failed to clear the cookies from the cookie JAR
when logging the user out. As a consequence, the cookie were retained
and it was possible to edit depictions as the previous user even without
logging in to the app (using the retained cookies).

Make sure we properly clear the cookies when we log the user out.

As an aside, the fact that the edit button shouldn't have been shown
is a different issue being tracked in #5726

* session: reuse removeAccount method for log out

The removeAccount method takes care of invoking the non-deprecated
API in applicable API levels. The logout method did not do such a
thing. Avoid redundancy, and reuse the removeAccount method for
logging out.
2024-06-18 22:31:34 +02:00
..
src Make sure to clear cookies on logout (#5727) 2024-06-18 22:31:34 +02:00
build.gradle Update Java version from Java 8 to Java 11 (#5732) 2024-06-09 20:56:38 +02:00
proguard-rules.txt app: adjust R8 rules to ensure our model classes are not obfuscated 2024-04-28 16:21:14 +05:30
test-proguard-rules.txt Update to API 28, and fix CI issues. (#2595) 2019-03-15 08:30:08 +05:30