mirror of
https://github.com/Since-3/since3-portal.git
synced 2026-10-12 20:51:17 +00:00
added sidebar
This commit is contained in:
parent
011db68599
commit
f99515a374
18 changed files with 1299 additions and 5 deletions
|
|
@ -35,6 +35,8 @@ export const verifySession = cache(async () => {
|
|||
|
||||
return {
|
||||
userId: user.id,
|
||||
name: profile.name,
|
||||
email: profile.email,
|
||||
role: profile.role,
|
||||
isLoggedIn: true,
|
||||
isAdmin: profile.role === "admin",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue