Merge pull request #4540 from fufesou/fix/login

fix login
This commit is contained in:
RustDesk 2023-06-04 14:33:02 +08:00 committed by GitHub
commit afb8e255de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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) {