Skip to content

Commit 6d465f9

Browse files
committed
feat(password): WIP
1 parent 7903ca3 commit 6d465f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

site/src/pages/SetupPage/SetupPage.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ export const SetupPage: FC = () => {
5656
}
5757

5858
const validateUserPassword = async (password: string) => {
59-
const isValid = validatePasswordMutation.mutate({password}, {
59+
const isValid = validatePasswordMutation.mutate(password, {
6060
onSuccess: (data) => {
61-
setPasswordIsValid(data.isValid);
61+
setPasswordIsValid(data);
6262
},
6363
})
6464
};

0 commit comments

Comments
 (0)