Birth dates, birthday reminders API, allow instance admins to require minimum age
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
84dcb55b0f
commit
b108b05650
16 changed files with 168 additions and 14 deletions
|
|
@ -259,7 +259,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,
|
||||
birth_date_required: false,
|
||||
birth_date_min_age: 0
|
||||
|
||||
config :pleroma, :welcome,
|
||||
direct_message: [
|
||||
|
|
|
|||
|
|
@ -957,6 +957,16 @@ 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: :birth_date_required,
|
||||
type: :boolean,
|
||||
description: "Require users to provide birth day."
|
||||
},
|
||||
%{
|
||||
key: :birth_date_min_age,
|
||||
type: :integer,
|
||||
description: "Min age for users to create account. Only makes sense if birth date is required."
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue