remove function useless
This commit is contained in:
parent
463aa47a52
commit
beea120e04
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user