Remove localStorage fallback from role service
cgen-7796b3b52a03466fb0127eb307106daf
This commit is contained in:
parent
95c3839228
commit
d59859ea05
1 changed files with 0 additions and 7 deletions
|
|
@ -703,13 +703,6 @@ export const aethexRoleService = {
|
|||
if (email === "mrpiglr@gmail.com") return ["owner", "admin", "founder"];
|
||||
} catch {}
|
||||
|
||||
// Mock/local fallback
|
||||
try {
|
||||
const raw = localStorage.getItem("mock_roles");
|
||||
const map = raw ? JSON.parse(raw) : {};
|
||||
if (map[userId]) return map[userId];
|
||||
} catch {}
|
||||
|
||||
return ["member"];
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue