Skip to content
Snippets Groups Projects

736 block disable employee account

Merged Sasha Ilieva requested to merge 736-block-disable-employee-account into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -307,7 +307,7 @@ async function executeRestfulFunction(type, that, fn, config, ...args) {
const identity = currentlyAuthenticatedIdentity || currentlyLoadedIdentity;
const { code, status } = response.data;
console.log({ code, status });
const deviceRevoked =
type === "private" && code === "401" && status === STATUS_DEVICE_REVOKED;
if (deviceRevoked) {
Loading