mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-15 18:41:58 +03:00
Update src/components/structures/auth/Registration.js
Co-Authored-By: Travis Ralston <travpc@gmail.com>
This commit is contained in:
parent
e3d1cf8d84
commit
9820400680
1 changed files with 1 additions and 2 deletions
|
@ -244,8 +244,7 @@ export default createReactClass({
|
||||||
};
|
};
|
||||||
try {
|
try {
|
||||||
await this._makeRegisterRequest(null);
|
await this._makeRegisterRequest(null);
|
||||||
// This should never succeed since we specified an empty
|
// This should never succeed since we're doing UIA
|
||||||
// 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) {
|
||||||
if (e.httpStatus === 401) {
|
if (e.httpStatus === 401) {
|
||||||
|
|
Loading…
Reference in a new issue