fix: 🐛 do not load singular auth methods in auth form
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -21,7 +21,7 @@ export default class ScopesScopeAuthenticateMethodRoute extends Route {
|
||||
*/
|
||||
model({ auth_method_id: id }) {
|
||||
const adapterOptions = { scopeID: this.modelFor('scopes.scope').id };
|
||||
return this.store.findRecord('auth-method', id, adapterOptions);
|
||||
return this.store.peekRecord('auth-method', id, adapterOptions);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -22,7 +22,7 @@ export default class ScopesScopeAuthenticateMethodRoute extends Route {
|
||||
*/
|
||||
model({ auth_method_id: id }) {
|
||||
const adapterOptions = { scopeID: this.modelFor('scopes.scope').id };
|
||||
return this.store.findRecord('auth-method', id, adapterOptions);
|
||||
return this.store.peekRecord('auth-method', id, adapterOptions);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user