mirror of https://github.com/rancher/ui.git
disable azure ad until prs are merged
This commit is contained in:
parent
1fe1b07106
commit
4391288465
|
|
@ -158,12 +158,8 @@ export default Controller.extend({
|
||||||
|
|
||||||
setProperties(model, {
|
setProperties(model, {
|
||||||
enabled: false,
|
enabled: false,
|
||||||
username: null,
|
|
||||||
password: null,
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// model.save().then(() => {
|
|
||||||
|
|
||||||
model.doAction('disable').then(() => {
|
model.doAction('disable').then(() => {
|
||||||
|
|
||||||
this.send('waitAndRefresh');
|
this.send('waitAndRefresh');
|
||||||
|
|
|
||||||
|
|
@ -10,9 +10,8 @@ export default Controller.extend({
|
||||||
drivers: computed(function() {
|
drivers: computed(function() {
|
||||||
return [
|
return [
|
||||||
{route: 'security.authentication.activedirectory', label: 'Active Directory', css: 'activedirectory', available: this.hasRecord('activedirectoryconfig') },
|
{route: 'security.authentication.activedirectory', label: 'Active Directory', css: 'activedirectory', available: this.hasRecord('activedirectoryconfig') },
|
||||||
{route: 'security.authentication.azuread', label: 'Azure AD', css: 'azuread', available: this.hasRecord('azureadconfig') },
|
// {route: 'security.authentication.azuread', label: 'Azure AD', css: 'azuread', available: this.hasRecord('azureadconfig') },
|
||||||
{route: 'security.authentication.github', label: 'GitHub', css: 'github', available: this.hasRecord('githubconfig') },
|
{route: 'security.authentication.github', label: 'GitHub', css: 'github', available: this.hasRecord('githubconfig') },
|
||||||
// {route: 'security.authentication.localauth', label: 'Local', css: 'local', available: this.hasRecord('localconfig') }, // always on
|
|
||||||
// {route: 'security.authentication.openldap', label: 'OpenLDAP', css: 'openldap', available: this.hasRecord('openldapconfig') },
|
// {route: 'security.authentication.openldap', label: 'OpenLDAP', css: 'openldap', available: this.hasRecord('openldapconfig') },
|
||||||
// {route: 'security.authentication.shibboleth', label: 'Shibboleth', css: 'shibboleth', available: this.hasRecord('shibbolethconfig') },
|
// {route: 'security.authentication.shibboleth', label: 'Shibboleth', css: 'shibboleth', available: this.hasRecord('shibbolethconfig') },
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue