feat(auth): admin user updates added

if a password change happens then an email will be sent to the user.
This commit is contained in:
2025-03-30 08:40:49 -05:00
parent 09c0825194
commit a48d4bd5af
12 changed files with 569 additions and 131 deletions

View File

@@ -0,0 +1,13 @@
import { formOptions } from "@tanstack/react-form";
export const userFormOptions = (user: any) => {
return formOptions({
defaultValues: {
username: user.username,
password: "",
email: user.email,
//hobbies: [],
},
// } as Person,
});
};