fix login
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
31cec1a896
commit
a8b1e3ff7e
@ -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,
|
||||||
|
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user