diff --git a/covas_mobile/lib/main.dart b/covas_mobile/lib/main.dart index 80d6854..c9ddb2c 100644 --- a/covas_mobile/lib/main.dart +++ b/covas_mobile/lib/main.dart @@ -54,12 +54,12 @@ class _LoginDemoState extends State with ShowErrorDialog { switch (cookie2.split("=")[0]) { case "jwt": { - prefs.setString("jwt", cookie2); + prefs.setString("jwt", cookie2.toString()); } break; case "user": { - prefs.setString("user", cookie2); + prefs.setString("user", cookie2.toString()); } break; default: