From 31333da63226e4b93891c65964b660ead93c5008 Mon Sep 17 00:00:00 2001 From: Daniel Oaks Date: Mon, 5 Sep 2016 23:01:40 +1000 Subject: [PATCH] config: Add basic reg stuff, remove inaccurate comment (given ircd hash is required for starting db) --- oragono.yaml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/oragono.yaml b/oragono.yaml index 860d4e2b..c9b3cd48 100644 --- a/oragono.yaml +++ b/oragono.yaml @@ -46,6 +46,21 @@ server: - "localhost" - "127.0.0.1" +# account/channel registration +registration: + # account registration + accounts: + # can users register new accounts? + enabled: true + + # length of time a user has to verify their account before it can be re-registered + # default is 120 hours, or 5 days + verify-timeout: "120h" + + # callbacks to allow + enabled-callbacks: + - none # no verification needed, will instantly register successfully + # ircd operators operator: # operator named 'dan' @@ -57,7 +72,6 @@ operator: # datastore configuration datastore: # path to the datastore - # this can also be ":memory:" for an in-memory-only db path: ircd.db # path to our sqlite db