add login by email + feature flag

This commit is contained in:
mcalinghee
2025-04-10 17:57:58 +02:00
parent 62741a0e36
commit f2a47f9a88
20 changed files with 188 additions and 14 deletions
+4
View File
@@ -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"
}
}
},
+6
View File
@@ -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`