mirror of
https://github.com/element-hq/matrix-authentication-service.git
synced 2026-09-01 20:08:36 +00:00
add login by email + feature flag
This commit is contained in:
@@ -2504,6 +2504,10 @@
|
||||
"account_deactivation_allowed": {
|
||||
"description": "Whether users are allowed to delete their own account. Defaults to `true`.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"login_with_email_allowed": {
|
||||
"description": "Whether users can log in with their email address. Defaults to `false`.\n\nThis has no effect if password login is disabled.",
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -314,6 +314,12 @@ account:
|
||||
#
|
||||
# Defaults to `true`.
|
||||
account_deactivation_allowed: true
|
||||
|
||||
# Whether users can log in with their email address.
|
||||
#
|
||||
# Defaults to `false`.
|
||||
# This has no effect if password login is disabled.
|
||||
login_with_email_allowed: false
|
||||
```
|
||||
|
||||
## `captcha`
|
||||
|
||||
Reference in New Issue
Block a user