Move realm config from server to auth

This commit is contained in:
Unrud
2018-08-16 08:00:01 +02:00
parent 6c12bba8a8
commit 6b281e1726
3 changed files with 9 additions and 9 deletions

View File

@@ -355,7 +355,7 @@ class Application:
# Unknown or unauthorized user
logger.debug("Asking client for authentication")
status = client.UNAUTHORIZED
realm = self.configuration.get("server", "realm")
realm = self.configuration.get("auth", "realm")
headers = dict(headers)
headers.update({
"WWW-Authenticate":