mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-16 02:21:34 +03:00
Fix submitAuthDict(null) being null in places where it actually should be auth: {}
Took 16 minutes
This commit is contained in:
parent
e3d1cf8d84
commit
69c1e117a3
1 changed files with 2 additions and 2 deletions
|
@ -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({});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue