mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 01:21:21 +03:00
create conditional to not display third party login block
This commit is contained in:
parent
25132b5daa
commit
4980c2145c
@ -14,6 +14,8 @@ export default
|
||||
// controller: authenticationController,
|
||||
templateUrl: templateUrl('login/thirdPartySignOn'),
|
||||
link: function(scope, element, attrs) {
|
||||
// these vars will be set programatically once
|
||||
// api stuff lands
|
||||
scope.loginItems = [
|
||||
{
|
||||
type: "foo",
|
||||
@ -34,6 +36,8 @@ export default
|
||||
tooltip: "Login in via SAML"
|
||||
}
|
||||
]
|
||||
|
||||
scope.thirdPartyLoginSupported = true;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
<div class="ThirdPartySignOn">
|
||||
<div class="ThirdPartySignOn" ng-if="thirdPartyLoginSupported">
|
||||
<div class="ThirdPartySignOn-label">
|
||||
Sign In With
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user