matrix-org / dendrite

Dendrite is a second-generation Matrix homeserver written in Go!
https://matrix-org.github.io/dendrite/
Apache License 2.0
5.67k stars 664 forks source link

Customize Password Requirements #1963

Open Tsangares opened 3 years ago

Tsangares commented 3 years ago

Currently I do not see any password configuration parameters for new users registering to the dendrite server. On the synapse server there was options on the strength. Ultimately, I think if its a strong 8 character password I think that's enough.

I am trying to onboard friends and family to use matrix over signal or whatsapp when possible and having a crazy intense password will limit the ability for onboarding new users.

The feature could be simple, in the yaml config just parametrize each of the password requirements and allow boolean toggles on and off and a int field for the minimum password length.

kegsay commented 3 years ago

Basically this is just adding https://github.com/matrix-org/dendrite/blob/1ed732cc783e079feeaf637e23120b027fb7d70b/clientapi/routing/register.go#L60 into the config in client_api.

dmizelle commented 3 years ago

hey @kegsay and @Tsangares -- I put in a PR to try and take a swing at this. This is my first PR to dendrite, so its totally possible to have botched something. Let me know what you think. :tada:

Azanul commented 1 year ago

According to this comment, this issue isn't required anymore.

frey0-0 commented 1 year ago

Hello @Tsangares @kegsay is this issue still open? If yes then I would like to work on it :) I am a new contributor to dendrite

Tsangares commented 1 year ago

Ask @kegsay what they meant about "sidecar" feature.

TruncatedDinoSour commented 8 months ago

+1