chore: 🤖 Update deauthenticate params to still use org_id
Instead of session invalidation being provided: { scope: { id: scopeID }
}, it gets: {authenticator: "authenticator:password", org_id: "1"}.
This commit is contained in:
2 files changed
+2
-1
No files matched your search
@@ -38,7 +38,7 @@ export default class PasswordAuthenticator extends BasePasswordAuthenticator {
|
||||
* @param {string} scopeID
|
||||
* @return {string}
|
||||
*/
|
||||
buildDeauthEndpointURL({ scope: { id: scopeID } }) {
|
||||
buildDeauthEndpointURL({ authenticator, org_id: scopeID }) {
|
||||
const adapter = this.store.adapterFor('application');
|
||||
const options = { adapterOptions: { method: 'deauthenticate' } };
|
||||
return adapter.buildURL('scope', scopeID, options, 'findRecord');
|
||||
|
||||
@@ -4,6 +4,7 @@ actions:
|
||||
dismiss: Dismiss
|
||||
save: Save
|
||||
help: Need help?
|
||||
deauthenticate: Deauthenticate
|
||||
resources:
|
||||
user: User
|
||||
users: Users
|
||||
|
||||
Reference in new issue
Block a user