Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

Stabilise and document the new account management options #3034

Merged
merged 2 commits into from
Aug 1, 2024

Conversation

sandhose
Copy link
Member

Fixes #2884

This also changes one default behavior: registration is now disabled by default.

@sandhose sandhose added A-Configuration Related on what is configurable and how it can be configured A-Account-Management Related to self-service account management labels Jul 31, 2024
@sandhose sandhose requested a review from reivilibre July 31, 2024 14:24
Copy link

cloudflare-workers-and-pages bot commented Jul 31, 2024

Deploying matrix-authentication-service-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: fe9171d
Status: ✅  Deploy successful!
Preview URL: https://59997bc3.matrix-authentication-service-docs.pages.dev
Branch Preview URL: https://quenting-stabilize-options.matrix-authentication-service-docs.pages.dev

View logs

Copy link
Contributor

@reivilibre reivilibre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is giving me urges to write a proc macro to handle all the shenanigans for the defaults!
But I'll resist... for now

/// Whether email-based password recovery is enabled. Defaults to `false`.
///
/// This has no effect if password login is disabled.
#[serde(default = "default_false", skip_serializing_if = "is_default_false")]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm, why disable this by default?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because it's a way to take over accounts, so you need to trust your email sending pipeline, which makes me hesitant to enable by default?

@sandhose sandhose force-pushed the quenting/stabilize-options branch from b63c1a9 to fe9171d Compare August 1, 2024 12:11
@sandhose sandhose merged commit b261ac0 into main Aug 1, 2024
16 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Account-Management Related to self-service account management A-Configuration Related on what is configurable and how it can be configured
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Stabilise and document the local password experimental features
2 participants