Commit 776fae5a authored by David Douard's avatar David Douard
Browse files

Warn only (instead of ERROR) if the secret key file is missing

This is required for unit tests of cubes that uses trustedauth
parent bf121dd9c837
......@@ -26,7 +26,7 @@ CONFENTRY = 'trustedauth-secret-key-file'
def registration_callback(vreg):
secretfile = vreg.config.get(CONFENTRY, "").strip()
if not secretfile:
vreg.config.error("Configuration '%s' is missing or empty. "
vreg.config.warning("Configuration '%s' is missing or empty. "
"Please check your configuration file!" % CONFENTRY)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment