@raketa-cloud/admin 0.0.43 → 0.0.44
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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import currentPath from "./currentPath.cjs";
|
|
2
1
|
import ejs from "ejs";
|
|
3
2
|
import { deleteCookie, getCookie, setCookie } from "hono/cookie";
|
|
3
|
+
import currentPath from "./currentPath.cjs";
|
|
4
4
|
import AuthHelper from "./helpers/AuthHelper";
|
|
5
5
|
|
|
6
6
|
function getAuthBearer(c) {
|
|
@@ -61,6 +61,7 @@ const setupAuthentication = (app, opts) => {
|
|
|
61
61
|
|
|
62
62
|
app.get("/logout", (c) => {
|
|
63
63
|
deleteCookie(c, AuthHelper.cookie_key);
|
|
64
|
+
deleteCookie(c, opts.remote.cookie_key);
|
|
64
65
|
return c.redirect("/login");
|
|
65
66
|
});
|
|
66
67
|
|