From 2490d4d6388f466bce9b3593af8e7e88e8ce496b Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Fri, 4 Sep 2020 14:18:47 +0200 Subject: [PATCH] Generic email-provider hots. --- docs/signin.md | 4 ++-- docs/signup.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/signin.md b/docs/signin.md index a75a46697d..06f715c46b 100644 --- a/docs/signin.md +++ b/docs/signin.md @@ -78,7 +78,7 @@ We get credential (200) If the user has associated an email with its account, he can signin using the email. ```shell script -curl -X POST --data $'{"identifier":{"type":"m.id.thirdparty","medium":"email","address":"alice@yopmail.com"},"password":"weak_password","type":"m.login.password","initial_device_display_name":"Portable"}' 'https://matrix.org/_matrix/client/r0/login' +curl -X POST --data $'{"identifier":{"type":"m.id.thirdparty","medium":"email","address":"alice@email-provider.org"},"password":"weak_password","type":"m.login.password","initial_device_display_name":"Portable"}' 'https://matrix.org/_matrix/client/r0/login' ``` ```json @@ -86,7 +86,7 @@ curl -X POST --data $'{"identifier":{"type":"m.id.thirdparty","medium":"email"," "identifier": { "type": "m.id.thirdparty", "medium": "email", - "address": "alice@yopmail.com" + "address": "alice@email-provider.org" }, "password": "weak_password", "type": "m.login.password", diff --git a/docs/signup.md b/docs/signup.md index 7d5c8f450b..f8b0b24485 100644 --- a/docs/signup.md +++ b/docs/signup.md @@ -200,13 +200,13 @@ curl -X POST --data $'{"auth":{"session":"xptUYoREDACTEDogOWAGVnbJQ","type":"m.l We request a token to the homeserver. The `client_secret` is generated by the application ```shell script -curl -X POST --data $'{"client_secret":"53e679ea-oRED-ACTED-92b8-3012c49c6cfa","email":"alice@yopmail.com","send_attempt":0}' 'https://matrix.org/_matrix/client/r0/register/email/requestToken' +curl -X POST --data $'{"client_secret":"53e679ea-oRED-ACTED-92b8-3012c49c6cfa","email":"alice@email-provider.org","send_attempt":0}' 'https://matrix.org/_matrix/client/r0/register/email/requestToken' ``` ```json { "client_secret": "53e679ea-oRED-ACTED-92b8-3012c49c6cfa", - "email": "alice@yopmail.com", + "email": "alice@email-provider.org", "send_attempt": 0 } ```