From cd0f291eb1a608589fcc2c1875fa7099ed8e2c51 Mon Sep 17 00:00:00 2001 From: Raphael Kabo Date: Sun, 25 Feb 2024 17:56:25 +0000 Subject: feat: optionally restrict event creation to specific emails --- config/config.example.toml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'config/config.example.toml') diff --git a/config/config.example.toml b/config/config.example.toml index 8f5a09d..73e90d0 100644 --- a/config/config.example.toml +++ b/config/config.example.toml @@ -17,6 +17,11 @@ show_kofi = false # 'nodemailer' or 'sendgrid'. Configure settings for this mail # service below. mail_service = "nodemailer" +# An array of email addresses which are permitted to create events. If this is +# empty, anyone can create events. +# For example: +# creator_email_addresses = ["test@test.com", "admin@test.com"] +creator_email_addresses = [] [database] # Set up for a locally running MongoDB connection. Change this to -- cgit v1.2.3