Add verified badge and page on the front

This commit is contained in:
2023-09-13 17:25:01 +02:00
committed by Clément Le Bihan
parent f2ed598865
commit a52c10fc2c
7 changed files with 100 additions and 17 deletions
+2
View File
@@ -8,6 +8,7 @@ export const UserValidator = yup
username: yup.string().required(),
password: yup.string().required().nullable(),
email: yup.string().required(),
emailVerified: yup.boolean().required(),
googleID: yup.string().required().nullable(),
isGuest: yup.boolean().required(),
partyPlayed: yup.number().required(),
@@ -32,6 +33,7 @@ export const UserHandler: ResponseHandler<yup.InferType<typeof UserValidator>, U
interface User extends Model {
name: string;
email: string;
emailVerified: boolean;
googleID: string | null;
isGuest: boolean;
premium: boolean;