Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove warning box when sending invite #1468

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion app/modules/invite/service.server.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import type { Invite, TeamMember } from "@prisma/client";
import { InviteStatuses } from "@prisma/client";
import type { AppLoadContext } from "@remix-run/node";
import type { Params } from "@remix-run/react";
import jwt from "jsonwebtoken";
import { db } from "~/database/db.server";
import { invitationTemplateString } from "~/emails/invite-template";
Expand Down
10 changes: 0 additions & 10 deletions app/routes/_layout+/settings.team.users.invite-user.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import {
import { UserIcon } from "~/components/icons/library";
import { Button } from "~/components/shared/button";
import { Image } from "~/components/shared/image";
import { WarningBox } from "~/components/shared/warning-box";
import { db } from "~/database/db.server";
import { useSearchParams } from "~/hooks/search-params";
import { useCurrentOrganization } from "~/hooks/use-current-organization-id";
Expand Down Expand Up @@ -253,15 +252,6 @@ export default function InviteUser() {
required
/>
</div>
<WarningBox className="">
<>
<strong>IMPORTANT</strong>: User invite emails contain a link with
a unique token that expires after being consumed. Please make sure
to add the <span className="font-medium">shelf.nu domain</span> to
your email whitelist to ensure the email is delivered and the link
is not consumed by your anti-spam software.
</>
</WarningBox>
<div className="mt-7 flex gap-1">
<Button
variant="secondary"
Expand Down
Loading