You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-11 20:22:36 +03:00
Replace {} with null to be compliant with newer specs. While older also accepted null for the auth part of the registration request object
Took 18 minutes
This commit is contained in:
@@ -650,7 +650,7 @@ export class SSOAuthEntry extends React.Component {
|
||||
};
|
||||
|
||||
onConfirmClick = () => {
|
||||
this.props.submitAuthDict({});
|
||||
this.props.submitAuthDict(null);
|
||||
};
|
||||
|
||||
render() {
|
||||
@@ -740,7 +740,7 @@ export const FallbackAuthEntry = createReactClass({
|
||||
event.data === "authDone" &&
|
||||
event.origin === this.props.matrixClient.getHomeserverUrl()
|
||||
) {
|
||||
this.props.submitAuthDict({});
|
||||
this.props.submitAuthDict(null);
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user