disable azure ad until prs are merged

This commit is contained in:
Westly Wright 2018-05-15 10:20:32 -07:00
parent 1fe1b07106
commit 4391288465
No known key found for this signature in database
GPG Key ID: 4FAB3D8673DC54A3
2 changed files with 1 additions and 6 deletions

View File

@ -158,12 +158,8 @@ export default Controller.extend({
setProperties(model, {
enabled: false,
username: null,
password: null,
});
// model.save().then(() => {
model.doAction('disable').then(() => {
this.send('waitAndRefresh');

View File

@ -10,9 +10,8 @@ export default Controller.extend({
drivers: computed(function() {
return [
{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.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.shibboleth', label: 'Shibboleth', css: 'shibboleth', available: this.hasRecord('shibbolethconfig') },
];