remove function useless

This commit is contained in:
Valentin CZERYBA 2022-09-17 22:42:06 +02:00
parent 463aa47a52
commit beea120e04

View File

@ -48,8 +48,6 @@ class _LoginDemoState extends State<LoginDemo> 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) {