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
Update documentation and auth dict submissions
This commit is contained in:
@@ -248,8 +248,7 @@ export default createReactClass({
|
|||||||
// need to.
|
// need to.
|
||||||
if (!this.state.doingUIAuth) {
|
if (!this.state.doingUIAuth) {
|
||||||
await this._makeRegisterRequest(null);
|
await this._makeRegisterRequest(null);
|
||||||
// This should never succeed since we specified an empty
|
// This should never succeed since we specified no auth object.
|
||||||
// auth object.
|
|
||||||
console.log("Expecting 401 from register request but got success!");
|
console.log("Expecting 401 from register request but got success!");
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|||||||
@@ -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