mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-05 14:04:55 -04:00
Update JSFiddles/how-to to support the new registration format.
This commit is contained in:
parent
aaf1d499bf
commit
3ef2c946d5
3 changed files with 3 additions and 3 deletions
|
@ -110,7 +110,7 @@ $('.register').live('click', function() {
|
|||
url: "http://localhost:8008/_matrix/client/api/v1/register",
|
||||
type: "POST",
|
||||
contentType: "application/json; charset=utf-8",
|
||||
data: JSON.stringify({ user_id: user, password: password }),
|
||||
data: JSON.stringify({ user: user, password: password, type: "m.login.password" }),
|
||||
dataType: "json",
|
||||
success: function(data) {
|
||||
onLoggedIn(data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue