mirror of
https://github.com/andwati/dokploy.git
synced 2026-12-06 09:38:46 +00:00
refactor: update roles
This commit is contained in:
@@ -53,7 +53,7 @@ export async function getServerSideProps(
|
||||
await helpers.project.all.prefetch();
|
||||
const auth = await helpers.auth.get.fetch();
|
||||
|
||||
if (auth.role === "user") {
|
||||
if (auth.role === "member") {
|
||||
const user = await helpers.user.byAuthId.fetch({
|
||||
authId: auth.id,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user