Add delete account

This commit is contained in:
Bill Yang 2025-02-18 16:57:37 -08:00
parent 6ed067f0d1
commit 0c6810ef39
3 changed files with 90 additions and 3 deletions

View file

@ -22,6 +22,9 @@ export const initAuth = (allowList: string[]) => {
emailAndPassword: {
enabled: true,
},
deleteUser: {
enabled: true,
},
plugins: [username()],
trustedOrigins: allowList,
advanced: {