mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 08:13:56 +10:00
build fix and remove username
This commit is contained in:
@ -206,7 +206,7 @@ export default function Setttings() {
|
|||||||
</label>
|
</label>
|
||||||
<input
|
<input
|
||||||
disabled
|
disabled
|
||||||
value={user?.email}
|
value={user?.email!}
|
||||||
type="text"
|
type="text"
|
||||||
name="first-name"
|
name="first-name"
|
||||||
id="first-name"
|
id="first-name"
|
||||||
|
|||||||
@ -8,7 +8,6 @@ import { toast, Toast, Toaster } from "react-hot-toast";
|
|||||||
import Logo from "./logo";
|
import Logo from "./logo";
|
||||||
|
|
||||||
type FormValues = {
|
type FormValues = {
|
||||||
username: string;
|
|
||||||
email: string;
|
email: string;
|
||||||
password: string;
|
password: string;
|
||||||
apiError: string;
|
apiError: string;
|
||||||
|
|||||||
@ -27,7 +27,6 @@ model Recipient {
|
|||||||
|
|
||||||
model User {
|
model User {
|
||||||
id Int @id @default(autoincrement())
|
id Int @id @default(autoincrement())
|
||||||
username String? @unique
|
|
||||||
name String?
|
name String?
|
||||||
email String @unique
|
email String @unique
|
||||||
emailVerified DateTime?
|
emailVerified DateTime?
|
||||||
|
|||||||
1
packages/types/next-auth.d.ts
vendored
1
packages/types/next-auth.d.ts
vendored
@ -15,6 +15,5 @@ declare module "next-auth" {
|
|||||||
email_verified?: boolean;
|
email_verified?: boolean;
|
||||||
impersonatedByUID?: number;
|
impersonatedByUID?: number;
|
||||||
belongsToActiveTeam?: boolean;
|
belongsToActiveTeam?: boolean;
|
||||||
username?: PrismaUser["username"];
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user