From beea120e04dfcdbf136dc039820c666bdc855108 Mon Sep 17 00:00:00 2001 From: Valentin CZERYBA Date: Sat, 17 Sep 2022 22:42:06 +0200 Subject: [PATCH] remove function useless --- covas_mobile/lib/main.dart | 2 -- 1 file changed, 2 deletions(-) diff --git a/covas_mobile/lib/main.dart b/covas_mobile/lib/main.dart index 6c67c62..80d6854 100644 --- a/covas_mobile/lib/main.dart +++ b/covas_mobile/lib/main.dart @@ -48,8 +48,6 @@ class _LoginDemoState extends State with ShowErrorDialog { SharedPreferences prefs = await SharedPreferences.getInstance(); var cookies = response.headers["set-cookie"].toString().split(";"); - prefs.remove("jwt"); - prefs.remove("user"); for (var cookie in cookies) { var cookiesMany = cookie.split(","); for (var cookie2 in cookiesMany) {