session create with challenge

This commit is contained in:
Max Peintner
2023-06-28 11:29:56 +02:00
parent 4e97744879
commit 4cddb79d1b
8 changed files with 46 additions and 6 deletions

View File

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