forked from the-distro/infra
forgejo: disable registrations, enable auto-registration for SSO
This commit is contained in:
parent
ab9caaf520
commit
8b9d33d70c
|
@ -49,7 +49,16 @@ in
|
|||
COOKIE_NAME = "session";
|
||||
};
|
||||
|
||||
# TODO: SSO, disable registrations
|
||||
service = {
|
||||
DISABLE_REGISTRATION = true;
|
||||
DEFAULT_KEEP_EMAIL_PRIVATE = true;
|
||||
};
|
||||
|
||||
oauth2_client = {
|
||||
REGISTER_EMAIL_CONFIRM = false;
|
||||
ENABLE_AUTO_REGISTRATION = true;
|
||||
};
|
||||
|
||||
# TODO: transactional mails
|
||||
# TODO: redis cache instead of default in-memory
|
||||
|
||||
|
|
Loading…
Reference in a new issue