diff options
author | Alex Gleason <alex@alexgleason.me> | 2022-01-25 15:35:47 +0000 |
---|---|---|
committer | Alex Gleason <alex@alexgleason.me> | 2022-01-25 15:35:47 +0000 |
commit | dd7977bb68f8289b1487159a81df510da11cd944 (patch) | |
tree | 9266f4bee07fe384076ae6ff6f3b7839cf142942 /config | |
parent | 19d557c870c3ec43dd3b0ee7ea85259a89bd9a80 (diff) | |
parent | 249fe88d12345c1c93f1812871cd70424b9e9a0d (diff) | |
download | pleroma-dd7977bb68f8289b1487159a81df510da11cd944.tar.gz |
Merge branch 'birth-dates' into 'develop'
Birth dates
See merge request pleroma/pleroma!3608
Diffstat (limited to 'config')
-rw-r--r-- | config/config.exs | 4 | ||||
-rw-r--r-- | config/description.exs | 11 |
2 files changed, 14 insertions, 1 deletions
diff --git a/config/config.exs b/config/config.exs index 8ac650f6a..5e82f203c 100644 --- a/config/config.exs +++ b/config/config.exs @@ -257,7 +257,9 @@ config :pleroma, :instance, password_reset_token_validity: 60 * 60 * 24, profile_directory: true, privileged_staff: false, - max_endorsed_users: 20 + max_endorsed_users: 20, + birthday_required: false, + birthday_min_age: 0 config :pleroma, :welcome, direct_message: [ diff --git a/config/description.exs b/config/description.exs index 644c60a63..3f66877e4 100644 --- a/config/description.exs +++ b/config/description.exs @@ -957,6 +957,17 @@ config :pleroma, :config_description, [ type: :boolean, description: "Let moderators access sensitive data (e.g. updating user credentials, get password reset token, delete users, index and read private statuses and chats)" + }, + %{ + key: :birthday_required, + type: :boolean, + description: "Require users to enter their birthday." + }, + %{ + key: :birthday_min_age, + type: :integer, + description: + "Minimum required age for users to create account. Only used if birthday is required." } ] }, |