apps-android-commons/app/src/main
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
..
java/fr/free/nrw/commons Make sure to clear cookies on logout (#5727) 2024-06-18 22:31:34 +02:00
res Localisation updates from https://translatewiki.net. 2024-06-17 14:02:06 +02:00
resources/queries Added functionality to export location of nearby missing pictures to GPX file and KML file (#5645) 2024-03-25 23:22:17 +09:00
AndroidManifest.xml [WIP]Lossless Transformations(Rotate feature) (#5252) 2023-10-24 13:04:21 +09:00
ic_explore-web.png Fixes #814 Added App Shortcuts (#3381) 2020-02-25 15:05:00 -07:00
ic_filled_star-web.png Fixes #814 Added App Shortcuts (#3381) 2020-02-25 15:05:00 -07:00
ic_launcher-web.png Update app icon (Fixes #868) (#2022) 2018-12-17 11:13:46 +05:30
ic_settings_black-web.png Fixes #814 Added App Shortcuts (#3381) 2020-02-25 15:05:00 -07:00