fix logout

This commit is contained in:
Rizky 2024-07-12 21:49:02 -07:00
parent f302ac6d74
commit f78635de06
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@ export type RGSession = {
};
export const logout = (url_login?: string) => {
if (isEditor) return;
if (typeof get(w, "user") === "object") {
w.user = null;
}