From a8b1e3ff7e3bde46fb8f91de8e9347fc89c9abb0 Mon Sep 17 00:00:00 2001 From: fufesou Date: Sun, 4 Jun 2023 14:29:00 +0800 Subject: [PATCH] fix login Signed-off-by: fufesou --- flutter/lib/common/widgets/dialog.dart | 1 + flutter/lib/common/widgets/login.dart | 1 + 2 files changed, 2 insertions(+) diff --git a/flutter/lib/common/widgets/dialog.dart b/flutter/lib/common/widgets/dialog.dart index 395663b36..9f8ba9e8a 100644 --- a/flutter/lib/common/widgets/dialog.dart +++ b/flutter/lib/common/widgets/dialog.dart @@ -344,6 +344,7 @@ class DialogTextField extends StatelessWidget { helperText: helperText, helperMaxLines: 8, errorText: errorText, + errorMaxLines: 8, ), controller: controller, focusNode: focusNode, diff --git a/flutter/lib/common/widgets/login.dart b/flutter/lib/common/widgets/login.dart index 5048e7124..210be1365 100644 --- a/flutter/lib/common/widgets/login.dart +++ b/flutter/lib/common/widgets/login.dart @@ -411,6 +411,7 @@ Future loginDialog() async { password: password.text, id: await bind.mainGetMyId(), uuid: await bind.mainGetUuid(), + autoLogin: true, type: HttpType.kAuthReqTypeAccount)); switch (resp.type) {