show less update-account fields on email login
This commit is contained in:
@@ -10,7 +10,7 @@ import { getSupabaseServerClient } from '@kit/supabase/server-client';
|
||||
|
||||
import { pathsConfig } from '@kit/shared/config';
|
||||
|
||||
import { UpdateAccountSchema } from '../schemas/update-account.schema';
|
||||
import { UpdateAccountSchemaServer } from '../schemas/update-account.schema';
|
||||
|
||||
export const onUpdateAccount = enhanceAction(
|
||||
async (params: AccountSubmitData) => {
|
||||
@@ -47,6 +47,6 @@ export const onUpdateAccount = enhanceAction(
|
||||
}
|
||||
},
|
||||
{
|
||||
schema: UpdateAccountSchema,
|
||||
schema: UpdateAccountSchemaServer,
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user