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