Skip to content

Commit 61d1963

Browse files
committed
Remove cookie code
1 parent 3bd3f17 commit 61d1963

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

app/src/main/java/fr/free/nrw/commons/auth/SignupActivity.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,6 @@ public boolean shouldOverrideUrlLoading(WebView view, String url) {
4444
//Signup success, so clear cookies, notify user, and load LoginActivity again
4545
Log.d("SignupActivity", "Overriding URL" + url);
4646

47-
CookieSyncManager.createInstance(getApplicationContext());
48-
CookieManager cookieManager = CookieManager.getInstance();
49-
cookieManager.removeAllCookie();
50-
cookieManager.setAcceptCookie(false);
51-
cookieManager.removeSessionCookie();
52-
5347
Toast toast = Toast.makeText(getApplicationContext(), "Account created!", Toast.LENGTH_LONG);
5448
toast.show();
5549

0 commit comments

Comments
 (0)