fix temporary password not update right now when length changed
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
parent
ea12eccc90
commit
fdd24dcb72
@ -217,6 +217,9 @@ class ServerModel with ChangeNotifier {
|
|||||||
update = true;
|
update = true;
|
||||||
}
|
}
|
||||||
if (_temporaryPasswordLength != temporaryPasswordLength) {
|
if (_temporaryPasswordLength != temporaryPasswordLength) {
|
||||||
|
if (_temporaryPasswordLength.isNotEmpty) {
|
||||||
|
bind.mainUpdateTemporaryPassword();
|
||||||
|
}
|
||||||
_temporaryPasswordLength = temporaryPasswordLength;
|
_temporaryPasswordLength = temporaryPasswordLength;
|
||||||
update = true;
|
update = true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user