mirror of
https://github.com/formbricks/formbricks.git
synced 2025-12-23 22:50:35 -06:00
Compare commits
2 Commits
fix-animat
...
ReviewBot/
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
000a5aa300 | ||
|
|
b485b652bf |
@@ -1,3 +1,4 @@
|
||||
import { finishOnboardingAction } from "@/app/(app)/onboarding/actions";
|
||||
import { getServerSession } from "next-auth";
|
||||
|
||||
import { authOptions } from "@formbricks/lib/authOptions";
|
||||
@@ -43,8 +44,8 @@ export default async function InvitePage({ searchParams }) {
|
||||
await createMembership(invite.teamId, session.user.id, { accepted: true, role: invite.role });
|
||||
await deleteInvite(inviteId);
|
||||
|
||||
sendInviteAcceptedEmail(invite.creator.name ?? "", session.user?.name ?? "", invite.creator.email);
|
||||
|
||||
const { name, email } = invite.creator;
|
||||
sendInviteAcceptedEmail(name ?? "", session.user?.name ?? "", email);
|
||||
return <RightAccountContent />;
|
||||
}
|
||||
} catch (e) {
|
||||
|
||||
@@ -81,7 +81,7 @@ export const TEXT_RESPONSES_PER_PAGE = 5;
|
||||
|
||||
export const DEFAULT_TEAM_ID = env.DEFAULT_TEAM_ID;
|
||||
export const DEFAULT_TEAM_ROLE = env.DEFAULT_TEAM_ROLE;
|
||||
export const ONBOARDING_DISABLED = env.ONBOARDING_DISABLED;
|
||||
export const ONBOARDING_DISABLED = env.ONBOARDING_DISABLED === "1";
|
||||
|
||||
// Storage constants
|
||||
export const AWS_ACCESS_KEY_ID = env.AWS_ACCESS_KEY_ID;
|
||||
|
||||
@@ -51,7 +51,7 @@ export const env = createEnv({
|
||||
OIDC_ISSUER: z.string().optional(),
|
||||
OIDC_SIGNING_ALGORITHM: z.string().optional(),
|
||||
OPENTELEMETRY_LISTENER_URL: z.string().optional(),
|
||||
ONBOARDING_DISABLED: z.string().optional(),
|
||||
ONBOARDING_DISABLED: z.enum(["1", "0"]).optional(),
|
||||
PASSWORD_RESET_DISABLED: z.enum(["1", "0"]).optional(),
|
||||
PRIVACY_URL: z
|
||||
.string()
|
||||
|
||||
Reference in New Issue
Block a user