refactor(auth): move oauth info to component

pull/2749/head
Chaim Lev Ari 2019-01-02 16:24:10 +02:00
parent 515daf6dba
commit 7aaa9e58e9
2 changed files with 7 additions and 5 deletions

View File

@ -1,4 +1,10 @@
<div class="form-group">
<span class="col-sm-12 text-muted small">
When using OAuth authentication, Portainer will allow users to optionally authenticate with an OAuth authorization server.
</span>
</div>
<div>
<div class="col-sm-12 form-section-title">OAuth Configuration</div>
<div class="form-group">

View File

@ -62,11 +62,7 @@
When using LDAP authentication, Portainer will delegate user authentication to a LDAP server and fallback to internal authentication if LDAP authentication fails.
</span>
</div>
<div class="form-group" ng-if="settings.AuthenticationMethod === 3">
<span class="col-sm-12 text-muted small">
When using OAuth authentication, Portainer will allow users to optionally authenticate with an OAuth authorization server.
</span>
</div>
<div ng-if="settings.AuthenticationMethod === 2">
<div class="col-sm-12 form-section-title">