diff --git a/.gitignore b/.gitignore
index 01ef054..ef6f6fb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -55,6 +55,7 @@ pids
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
-/generated/prisma
+prisma/generated
dump.rdb
+
diff --git a/common/emails/auth.ts b/common/emails/auth.ts
index b5bf18a..b604c04 100644
--- a/common/emails/auth.ts
+++ b/common/emails/auth.ts
@@ -1,3 +1,141 @@
+export const authOTP = (otp: number) => (
+ `
+
+
+
+
+
+
MultiTenant SaaS
+
+
Your Verification Code
+
+
Hello,
+
+
+Use the following One-Time Password (OTP) to continue signing in to your
+MultiTenant SaaS account.
+
+
+
+
${otp}
+
This code is valid for 5 minutes only.
+
+
+
+Enter this code in the verification screen to complete your login or signup.
+
+
+
+For security reasons, never share this code with anyone. Our team will never ask you for your OTP.
+
+
+
+
+
+If you did not request this code, you can safely ignore this email.
+
+
+
+
+
+
+
+
+`
+)
+
export const welcomeToApp =
`
diff --git a/common/emails/index.ts b/common/emails/index.ts
index 726d725..058a863 100644
--- a/common/emails/index.ts
+++ b/common/emails/index.ts
@@ -1,6 +1,10 @@
-import { welcomeToApp } from "./auth"
+import { welcomeToApp, authOTP } from "./auth"
const EmailTemplates = {
+ signup_otp: (otp: number) => ({
+ subject: "Your MultiTenant SaaS Verification Code",
+ body: authOTP(otp)
+ }),
signup_completed: {
subject: "Welcome to app",
body: welcomeToApp
diff --git a/prisma/generated/prisma/browser.ts b/prisma/generated/prisma/browser.ts
deleted file mode 100644
index 709f652..0000000
--- a/prisma/generated/prisma/browser.ts
+++ /dev/null
@@ -1,39 +0,0 @@
-
-/* !!! This is code generated by Prisma. Do not edit directly. !!! */
-/* eslint-disable */
-// biome-ignore-all lint: generated file
-// @ts-nocheck
-/*
- * This file should be your main import to use Prisma-related types and utilities in a browser.
- * Use it to get access to models, enums, and input types.
- *
- * This file does not contain a `PrismaClient` class, nor several other helpers that are intended as server-side only.
- * See `client.ts` for the standard, server-side entry point.
- *
- * 🟢 You can import this file directly.
- */
-
-import * as Prisma from './internal/prismaNamespaceBrowser'
-export { Prisma }
-export * as $Enums from './enums'
-export * from './enums';
-/**
- * Model OrganizationJoinRequest
- *
- */
-export type OrganizationJoinRequest = Prisma.OrganizationJoinRequestModel
-/**
- * Model OrganizationUserJoinTable
- *
- */
-export type OrganizationUserJoinTable = Prisma.OrganizationUserJoinTableModel
-/**
- * Model Organization
- *
- */
-export type Organization = Prisma.OrganizationModel
-/**
- * Model User
- *
- */
-export type User = Prisma.UserModel
diff --git a/prisma/generated/prisma/client.ts b/prisma/generated/prisma/client.ts
deleted file mode 100644
index 954c9ae..0000000
--- a/prisma/generated/prisma/client.ts
+++ /dev/null
@@ -1,59 +0,0 @@
-
-/* !!! This is code generated by Prisma. Do not edit directly. !!! */
-/* eslint-disable */
-// biome-ignore-all lint: generated file
-// @ts-nocheck
-/*
- * This file should be your main import to use Prisma. Through it you get access to all the models, enums, and input types.
- * If you're looking for something you can import in the client-side of your application, please refer to the `browser.ts` file instead.
- *
- * 🟢 You can import this file directly.
- */
-
-import * as process from 'node:process'
-import * as path from 'node:path'
-
-import * as runtime from "@prisma/client/runtime/client"
-import * as $Enums from "./enums"
-import * as $Class from "./internal/class"
-import * as Prisma from "./internal/prismaNamespace"
-
-export * as $Enums from './enums'
-export * from "./enums"
-/**
- * ## Prisma Client
- *
- * Type-safe database client for TypeScript
- * @example
- * ```
- * const prisma = new PrismaClient()
- * // Fetch zero or more OrganizationJoinRequests
- * const organizationJoinRequests = await prisma.organizationJoinRequest.findMany()
- * ```
- *
- * Read more in our [docs](https://pris.ly/d/client).
- */
-export const PrismaClient = $Class.getPrismaClientClass()
-export type PrismaClient