Update "Password Reset" to "Update Password"

The code changes correspond to the rebranding of "Password Reset" to "Update Password". The names of components, functions, and routes have been updated to reflect this change. Also, a minor code optimization has been made in the i18n.server file for the creation of i18n server instances.
This commit is contained in:
giancarlo
2024-04-19 17:27:11 +08:00
parent cc80b26117
commit c121a3bdad
5 changed files with 15 additions and 10 deletions

View File

@@ -28,7 +28,7 @@ import { Trans } from '@kit/ui/trans';
import { PasswordResetSchema } from '../schemas/password-reset.schema';
export function PasswordResetForm(params: { redirectTo: string }) {
export function UpdatePasswordForm(params: { redirectTo: string }) {
const updateUser = useUpdateUser();
const form = useForm<z.infer<typeof PasswordResetSchema>>({

View File

@@ -1,2 +1,2 @@
export * from './components/password-reset-request-container';
export * from './components/password-reset-form';
export * from './components/update-password-form';