You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-16 06:42:26 +03:00
Fix submitAuthDict(null) being null in places where it actually should be auth: {}
Took 16 minutes
This commit is contained in:
@@ -650,7 +650,7 @@ export class SSOAuthEntry extends React.Component {
|
|||||||
};
|
};
|
||||||
|
|
||||||
onConfirmClick = () => {
|
onConfirmClick = () => {
|
||||||
this.props.submitAuthDict(null);
|
this.props.submitAuthDict({});
|
||||||
};
|
};
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
@@ -740,7 +740,7 @@ export const FallbackAuthEntry = createReactClass({
|
|||||||
event.data === "authDone" &&
|
event.data === "authDone" &&
|
||||||
event.origin === this.props.matrixClient.getHomeserverUrl()
|
event.origin === this.props.matrixClient.getHomeserverUrl()
|
||||||
) {
|
) {
|
||||||
this.props.submitAuthDict(null);
|
this.props.submitAuthDict({});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user