1
mirror of https://gitlab.com/commento/commento.git synced 2025-06-29 22:56:37 -04:00

api: add option to forbid new owner registrations

Closes https://gitlab.com/commento/commento-ce/issues/10
This commit is contained in:
Adhityaa Chandrasekar
2018-07-24 15:38:00 +05:30
parent 58be6a44b6
commit 9fb33fbd9d
3 changed files with 15 additions and 1 deletions

View File

@ -39,3 +39,5 @@ var errorGzip = errors.New("Cannot GZip content.")
var errorCannotDownloadDisqus = errors.New("We could not download your Disqus export file.")
var errorSelfVote = errors.New("You cannot vote on your own comment.")
var errorInvalidConfigFile = errors.New("Invalid config file.")
var errorInvalidConfigValue = errors.New("Invalid config value.")
var errorNewOwnerForbidden = errors.New("New user registrations are forbidden and closed.")