Hide "HTTP Credentials" if auth is not HTTP or HTTP_LDAP

Change-Id: Ib93e424a561b9d99f94f2cf8e2fa89c88836a01c
This commit is contained in:
Paladox none
2019-10-28 16:40:40 +00:00
parent 7ea76a5e5d
commit adee3ad9e8

View File

@@ -89,7 +89,9 @@ limitations under the License.
<li><a href="#ChangeTableColumns">Change Table Columns</a></li>
<li><a href="#Notifications">Notifications</a></li>
<li><a href="#EmailAddresses">Email Addresses</a></li>
<li><a href="#HTTPCredentials">HTTP Credentials</a></li>
<template is="dom-if" if="[[_showHttpAuth(_serverConfig)]]">
<li><a href="#HTTPCredentials">HTTP Credentials</a></li>
</template>
<li hidden$="[[!_serverConfig.sshd]]"><a href="#SSHKeys">
SSH Keys
</a></li>