diff --git a/app/src/main/java/com/supertokens/session/FrontToken.java b/app/src/main/java/com/supertokens/session/FrontToken.java index bca62ca..825aecf 100644 --- a/app/src/main/java/com/supertokens/session/FrontToken.java +++ b/app/src/main/java/com/supertokens/session/FrontToken.java @@ -118,7 +118,7 @@ private static void removeTokenFromStorage(Context context) { } public static void removeToken(Context context) { - AntiCSRF.removeToken(applicationContext); + AntiCSRF.removeToken(context); synchronized (tokenLock) { removeTokenFromStorage(context); // We are clearing all stored tokens here, because: