fix: keep forgejo email addresses private by default #45

Merged
axeman merged 1 commit from feat/hide-forgejo-email-by-default into main 2023-11-05 14:08:44 +00:00

View file

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