3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-22 11:59:40 +01:00

config: Add basic reg stuff, remove inaccurate comment (given ircd hash is required for starting db)

This commit is contained in:
Daniel Oaks 2016-09-05 23:01:40 +10:00
parent 5d6b4127ff
commit 31333da632

View File

@ -46,6 +46,21 @@ server:
- "localhost" - "localhost"
- "127.0.0.1" - "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 # ircd operators
operator: operator:
# operator named 'dan' # operator named 'dan'
@ -57,7 +72,6 @@ operator:
# datastore configuration # datastore configuration
datastore: datastore:
# path to the datastore # path to the datastore
# this can also be ":memory:" for an in-memory-only db
path: ircd.db path: ircd.db
# path to our sqlite db # path to our sqlite db