Merge pull request 'fix: keep forgejo email addresses private by default' (#45) from feat/hide-forgejo-email-by-default into main

Reviewed-on: #45
Reviewed-by: Akshay Mankar <axeman@noreply.git.pub.solar>
This commit is contained in:
Akshay Mankar 2023-11-05 14:08:44 +00:00
commit a9beccc31f
Signed by: pub.solar gitea
GPG key ID: F0332B04B7054873

View file

@ -68,11 +68,16 @@
ENABLE_OPENID_SIGNIN = true;
ENABLE_OPENID_SIGNUP = true;
};
service = {
# uncomment after initial deployment, first user is admin user
# required to setup SSO (oauth openid-connect, keycloak auth provider)
service.ALLOW_ONLY_EXTERNAL_REGISTRATION = true;
service.ENABLE_NOTIFY_MAIL = true;
session.COOKIE_SECURE = lib.mkForce true;
ALLOW_ONLY_EXTERNAL_REGISTRATION = true;
ENABLE_NOTIFY_MAIL = true;
DEFAULT_KEEP_EMAIL_PRIVATE = true;
};
session = {
COOKIE_SECURE = lib.mkForce true;
};
};
};