mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
Don't inhibit login
This commit is contained in:
parent
664038b946
commit
85a9a019c8
@ -164,7 +164,7 @@ export class HomeServerApi {
|
|||||||
return this._unauthedRequest("GET", this._url("/login"));
|
return this._unauthedRequest("GET", this._url("/login"));
|
||||||
}
|
}
|
||||||
|
|
||||||
register(username: string | null, password: string, initialDeviceDisplayName: string, auth?: Record<string, any>, inhibitLogin: boolean = true , options: BaseRequestOptions = {}): IHomeServerRequest {
|
register(username: string | null, password: string, initialDeviceDisplayName: string, auth?: Record<string, any>, inhibitLogin: boolean = false , options: BaseRequestOptions = {}): IHomeServerRequest {
|
||||||
options.allowedStatusCodes = [401];
|
options.allowedStatusCodes = [401];
|
||||||
const body: any = {
|
const body: any = {
|
||||||
auth,
|
auth,
|
||||||
|
Loading…
Reference in New Issue
Block a user