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
2 changed files with 2 additions and 0 deletions

View File

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

View File

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