diff --git a/powerdnsadmin/routes/index.py b/powerdnsadmin/routes/index.py index 3a6f55c..e6e8343 100644 --- a/powerdnsadmin/routes/index.py +++ b/powerdnsadmin/routes/index.py @@ -323,6 +323,7 @@ def login(): # Regexp didn't match, continue to next iteration continue + account = Account() sanitized_group_name = Account.sanitize_name(group_name) account_id = account.get_id_by_name(account_name=sanitized_group_name) diff --git a/powerdnsadmin/templates/base.html b/powerdnsadmin/templates/base.html index 85b2f82..35bfc51 100644 --- a/powerdnsadmin/templates/base.html +++ b/powerdnsadmin/templates/base.html @@ -32,7 +32,13 @@ PDA - PowerDNS-Admin + + {% if SETTING.get('site_name') %} + {{ SITE_NAME }} + {% else %} + PowerDNS-Admin + {% endif %} +