mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 19:14:52 +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"));
|
||||
}
|
||||
|
||||
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];
|
||||
const body: any = {
|
||||
auth,
|
||||
|
Loading…
Reference in New Issue
Block a user