Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit cfe7309

Browse files
committed
Merge branch 'anoa/reg_email_account_threepid_delegate' of github.com:matrix-org/synapse into anoa/reg_email_account_threepid_delegate
* 'anoa/reg_email_account_threepid_delegate' of github.com:matrix-org/synapse: Update synapse/handlers/identity.py Update synapse/handlers/identity.py Update synapse/config/emailconfig.py
2 parents 3ba7304 + 5d9f48d commit cfe7309

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

synapse/handlers/identity.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,12 +226,14 @@ def requestEmailToken(self, email, client_secret, send_attempt, next_link=None,
226226
"""
227227
Request an external server send an email on our behalf for the purposes of threepid
228228
validation.
229+
229230
Args:
230231
email (str): The email to send the message to
231232
client_secret (str): The unique client_secret sends by the user
232233
send_attempt (int): Which attempt this is
233234
next_link: A link to redirect the user to once they submit the token
234235
kwargs: extra arguments to send to the server
236+
235237
Returns:
236238
The json response body from the server
237239
"""

0 commit comments

Comments
 (0)