You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-26 17:03:12 +03:00
Add m.login.email.identity support to UI auth
Extends the interactive-auth to support m.login.email.identity This also includes the ability to resume a UI auth session given the approirpiate information (ie. to resume the auth flow having click a link in a verification email).
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
Copyright 2015, 2016 OpenMarket Ltd
|
||||
Copyright 2017 Vector Creations Ltd
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
@@ -135,7 +136,7 @@ MatrixBaseApis.prototype.register = function(
|
||||
sessionId, auth, bindEmail, guestAccessToken,
|
||||
callback,
|
||||
) {
|
||||
if (auth === undefined) {
|
||||
if (auth === undefined || auth === null) {
|
||||
auth = {};
|
||||
}
|
||||
if (sessionId) {
|
||||
|
||||
Reference in New Issue
Block a user