mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-30 22:49:27 +02:00
fix get user rauth
This commit is contained in:
parent
6908ec5bc2
commit
26a78e2c51
2 changed files with 4 additions and 1 deletions
|
@ -185,7 +185,8 @@ authenticated.get(
|
|||
role.listRoleActions,
|
||||
);
|
||||
|
||||
authenticated.get("/user", verifySessionMiddleware, user.getUser);
|
||||
unauthenticated.get("/user", verifySessionMiddleware, user.getUser);
|
||||
|
||||
authenticated.get("/org/:orgId/users", verifyOrgAccess, user.listUsers);
|
||||
authenticated.delete(
|
||||
"/org/:orgId/user/:userId",
|
||||
|
|
|
@ -13,6 +13,8 @@ export default async function Page() {
|
|||
redirect("/");
|
||||
}
|
||||
|
||||
console.log(user.email)
|
||||
|
||||
return (
|
||||
<>
|
||||
<VerifyEmailForm email={user.email}/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue