chore: 🤖 oidc auth methods are not yet editable in admin ui

This commit is contained in:
Randall Morey committed 2021-03-16 15:41:13 -04:00
1 parent 760710ae23
commit f406fc3861
3 files changed
+27 -6

No files matched your search

+17 -1
View File
@@ -1,3 +1,19 @@
import GeneratedAuthMethodModel from '../generated/models/auth-method';
export default class AuthMethodModel extends GeneratedAuthMethodModel {}
export default class AuthMethodModel extends GeneratedAuthMethodModel {
// =attributes
/**
* @type {boolean}
*/
get isPassword() {
return this.type === 'password';
}
/**
* @type {boolean}
*/
get isOIDC() {
return this.type === 'oidc';
}
}