commit 7524080ca2f1f343fbe1be3719544c7d1ea2eeba Author: Florian Best Date: Tue Aug 11 09:36:56 2020 +0200 Bug #51801: make error reporting configurable diff --git a/saml/univention-saml/conffiles/etc/simplesamlphp/config.php b/saml/univention-saml/conffiles/etc/simplesamlphp/config.php index 953d3d7cec..d265374f78 100755 --- a/saml/univention-saml/conffiles/etc/simplesamlphp/config.php +++ b/saml/univention-saml/conffiles/etc/simplesamlphp/config.php @@ -76,6 +76,7 @@ print(" 'domainname' => '%s'," % configRegistry.get('domainname', '')) @!@ print(" 'showerrors' => %s," % ('TRUE' if configRegistry.is_true('saml/idp/show-errors') else 'FALSE')) +print(" 'errorreporting' => %s," % ('TRUE' if configRegistry.is_true('saml/idp/show-error-reporting') else 'FALSE')) @!@ /** * Custom error show function called from SimpleSAML_Error_Error::show. diff --git a/saml/univention-saml/debian/univention-saml.univention-config-registry b/saml/univention-saml/debian/univention-saml.univention-config-registry index f6ee80ee65..244746bf65 100644 --- a/saml/univention-saml/debian/univention-saml.univention-config-registry +++ b/saml/univention-saml/debian/univention-saml.univention-config-registry @@ -28,6 +28,7 @@ Variables: saml/idp/timezone Variables: saml/idp/log/debug/enabled Variables: saml/idp/log/level Variables: saml/idp/show-errors +Variables: saml/idp/error-reporting Variables: saml/idp/lookandfeel/theme Variables: saml/idp/technicalcontactname Variables: saml/idp/technicalcontactemail diff --git a/saml/univention-saml/debian/univention-saml.univention-config-registry-variables b/saml/univention-saml/debian/univention-saml.univention-config-registry-variables index 22b31bbe98..8df871297b 100644 --- a/saml/univention-saml/debian/univention-saml.univention-config-registry-variables +++ b/saml/univention-saml/debian/univention-saml.univention-config-registry-variables @@ -82,6 +82,12 @@ Description[en]=Defines if error information and stack traces allowed to be show Type=bool Categories=saml +[saml/idp/show-error-reporting] +Description[de]=Definiert, ob Fehler informationen wie Stack Traces per E-Mail an den Technischen-Kontakt gemeldet werden können. +Description[en]=Defines if error information and stack traces can be reported via email to the technical contact mail address. +Type=bool +Categories=saml + [saml/idp/lookandfeel/theme] Description[de]=Das verwendete Theme der Webseiten des Identity Providers. (default: univentiontheme:univention) Description[en]=The theme used by the identity Provider webpages. (default: univentiontheme:univention)