-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Registration failure: M_MISSING_PARAM password_hash #13990
Comments
This sounds like it might be a Synapse issue when email confirmations are required for registration? Or perhaps with the captcha being enabled. It'd be good to see the request logs to see what's going on here though. |
Email confirmations are required for registration on this homeserver - captcha is probably enabled. I can also confirm that this didn't affect every registration - 4 other registrations occurred successfully. |
(CC: @clokep)
There was also a It should also be noted that these errors occurred on Monolith hosts, not workerized ones. |
Thanks for the info! I was able to reproduce this locally! 👍 |
Huzzah! Do you need to do anything special to cause this? |
I've been able to reproduce this with the following:
Still investigating, but it seems that when clicking on the link a new UIAuth session ID gets generated (so we don't have access to the password provided during registration). |
What I'm seeing when I test this locally is the following happen:
So it looks like Riot web isn't using the |
I reproduced this by using the Synapse demo scripts and modifying the config a bit: On a checkout of Synapse:
diff --git a/synapse/push/mailer.py b/synapse/push/mailer.py
--- a/synapse/push/mailer.py
+++ b/synapse/push/mailer.py
@@ -309,6 +309,9 @@ class Mailer(object):
logger.info("Sending email to %s" % email_address)
+ logger.info(plain_text)
+ return
+
await make_deferred_yieldable(
self.sendmail(
self.hs.config.email_smtp_host,
|
I fill the form and the confirmation email arrives. But when I click the link and the captcha, an error message appears briefly and I am stuck at the spinner in 'Create your account' page. The error is show in the console:
The text was updated successfully, but these errors were encountered: