Remove password for React change
This commit is contained in:
parent
266db2eecb
commit
0807af8908
|
|
@ -245,15 +245,13 @@ class _DashboardScreenState extends State<DashboardScreen>
|
||||||
final data = serializers.serializeWith(
|
final data = serializers.serializeWith(
|
||||||
AccountEntity.serializer, account);
|
AccountEntity.serializer, account);
|
||||||
|
|
||||||
passwordCallback(
|
|
||||||
context: context,
|
|
||||||
callback: (password, idToken) async {
|
|
||||||
store.dispatch(StartSaving());
|
store.dispatch(StartSaving());
|
||||||
WebClient()
|
WebClient()
|
||||||
.put(url, credentials.token,
|
.put(
|
||||||
|
url,
|
||||||
|
credentials.token,
|
||||||
data: json.encode(data),
|
data: json.encode(data),
|
||||||
password: password,
|
)
|
||||||
idToken: idToken)
|
|
||||||
.then((dynamic _) {
|
.then((dynamic _) {
|
||||||
store.dispatch(StopSaving());
|
store.dispatch(StopSaving());
|
||||||
WebUtils.reloadBrowser();
|
WebUtils.reloadBrowser();
|
||||||
|
|
@ -261,7 +259,6 @@ class _DashboardScreenState extends State<DashboardScreen>
|
||||||
store.dispatch(StopSaving());
|
store.dispatch(StopSaving());
|
||||||
showErrorDialog(context: context, message: error);
|
showErrorDialog(context: context, message: error);
|
||||||
});
|
});
|
||||||
});
|
|
||||||
},
|
},
|
||||||
icon: Icon(MdiIcons.react),
|
icon: Icon(MdiIcons.react),
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue