show error on password page

This commit is contained in:
Max Peintner
2023-05-22 16:28:47 +02:00
parent a02dcd4d5b
commit b27c8af65f
8 changed files with 71 additions and 65 deletions

View File

@@ -87,7 +87,7 @@ export default function VerifyEmailForm({ userId, code, submit }: Props) {
function submitCodeAndContinue(value: Inputs): Promise<boolean | void> {
console.log(value);
return submitCode(value).then((resp: any) => {
return router.push(`/accounts`);
return router.push(`/username`);
});
}