fix logout
This commit is contained in:
parent
f302ac6d74
commit
f78635de06
|
|
@ -8,6 +8,7 @@ export type RGSession = {
|
||||||
};
|
};
|
||||||
|
|
||||||
export const logout = (url_login?: string) => {
|
export const logout = (url_login?: string) => {
|
||||||
|
if (isEditor) return;
|
||||||
if (typeof get(w, "user") === "object") {
|
if (typeof get(w, "user") === "object") {
|
||||||
w.user = null;
|
w.user = null;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue