feat: 🎸 add OIDC-typed account form

This commit is contained in:
Randall Morey committed 2021-06-18 09:51:52 -04:00
1 parent 0a57865270
commit 1e8c8a3ba0
8 files changed
+153 -27

No files matched your search

@@ -8,11 +8,11 @@ export default class ScopesScopeAuthMethodsAuthMethodAccountsNewRoute extends Ro
* @return {AccountModel}
*/
model() {
const { id: auth_method_id } = this.modelFor(
const { id: auth_method_id, type } = this.modelFor(
'scopes.scope.auth-methods.auth-method'
);
return this.store.createRecord('account', {
type: 'password',
type,
auth_method_id,
});
}