@adonisjs/auth 9.5.0 → 9.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -390,16 +390,16 @@ var SessionGuard = class {
|
|
|
390
390
|
await userProvider.deleteRemeberToken(this.user, token.identifier);
|
|
391
391
|
}
|
|
392
392
|
}
|
|
393
|
-
this.user = void 0;
|
|
394
|
-
this.viaRemember = false;
|
|
395
|
-
this.isAuthenticated = false;
|
|
396
|
-
this.isLoggedOut = true;
|
|
397
393
|
this.#emitter.emit("session_auth:logged_out", {
|
|
398
394
|
ctx: this.#ctx,
|
|
399
395
|
guardName: this.#name,
|
|
400
396
|
user: this.user || null,
|
|
401
397
|
sessionId: session.sessionId
|
|
402
398
|
});
|
|
399
|
+
this.user = void 0;
|
|
400
|
+
this.viaRemember = false;
|
|
401
|
+
this.isAuthenticated = false;
|
|
402
|
+
this.isLoggedOut = true;
|
|
403
403
|
}
|
|
404
404
|
/**
|
|
405
405
|
* Authenticate the current HTTP request by verifying the bearer
|