1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-14 19:02:33 +03:00

Fix submitAuthDict(null) being null in places where it actually should be auth: {}

Took 16 minutes
This commit is contained in:
Marcel
2020-04-08 20:55:02 +02:00
parent e3d1cf8d84
commit 69c1e117a3

View File

@@ -650,7 +650,7 @@ export class SSOAuthEntry extends React.Component {
};
onConfirmClick = () => {
this.props.submitAuthDict(null);
this.props.submitAuthDict({});
};
render() {
@@ -740,7 +740,7 @@ export const FallbackAuthEntry = createReactClass({
event.data === "authDone" &&
event.origin === this.props.matrixClient.getHomeserverUrl()
) {
this.props.submitAuthDict(null);
this.props.submitAuthDict({});
}
},