mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
fix(ui): fix continue flow verification-code 404 bug
fix continue flow verification-code 404 bug
This commit is contained in:
parent
de0d22037d
commit
647bd884a7
2 changed files with 4 additions and 4 deletions
|
@ -95,14 +95,14 @@ const App = () => {
|
|||
<Route path="reset" element={<ResetPassword />} />
|
||||
</Route>
|
||||
|
||||
{/* Passwordless verification code */}
|
||||
<Route path=":flow/verification-code" element={<VerificationCode />} />
|
||||
|
||||
{/* Continue set up missing profile */}
|
||||
<Route path="continue">
|
||||
<Route path=":method" element={<Continue />} />
|
||||
</Route>
|
||||
|
||||
{/* Passwordless verification code */}
|
||||
<Route path=":flow/verification-code" element={<VerificationCode />} />
|
||||
|
||||
{/* Social sign-in pages */}
|
||||
<Route path="social">
|
||||
<Route path="link/:connectorId" element={<SocialLinkAccount />} />
|
||||
|
|
|
@ -46,7 +46,7 @@ const useSendVerificationCode = (flow: UserFlow, replaceCurrentPage?: boolean) =
|
|||
if (result) {
|
||||
navigate(
|
||||
{
|
||||
pathname: `verification-code`,
|
||||
pathname: `/${flow}/verification-code`,
|
||||
search: location.search,
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue