fix login

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou 2023-06-04 14:29:00 +08:00
parent 31cec1a896
commit a8b1e3ff7e
2 changed files with 2 additions and 0 deletions

View File

@ -344,6 +344,7 @@ class DialogTextField extends StatelessWidget {
helperText: helperText,
helperMaxLines: 8,
errorText: errorText,
errorMaxLines: 8,
),
controller: controller,
focusNode: focusNode,

View File

@ -411,6 +411,7 @@ Future<bool?> loginDialog() async {
password: password.text,
id: await bind.mainGetMyId(),
uuid: await bind.mainGetUuid(),
autoLogin: true,
type: HttpType.kAuthReqTypeAccount));
switch (resp.type) {