Update login.html

Use SITE_NAME for login box title on login page (with default value).
This can be useful when using multiple powerdns admin in an organization.
This commit is contained in:
Sshafi 2023-01-26 00:02:08 +01:00 committed by GitHub
parent b607c1b7ff
commit 91c1907486
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,13 @@
<body class="hold-transition login-page"> <body class="hold-transition login-page">
<div class="login-box"> <div class="login-box">
<div class="login-logo"> <div class="login-logo">
<a href="{{ url_for('index.index') }}"><b>{{ SITE_NAME }}</b></a> <a href="{{ url_for('index.index') }}">
{% if SETTING.get('site_name') %}
<b>{{ SITE_NAME }}</b>
{% else %}
<b>PowerDNS</b>-Admin
{% endif %}
</a>
</div> </div>
<!-- /.login-logo --> <!-- /.login-logo -->
<div class="login-box-body"> <div class="login-box-body">