mirror of
https://codeberg.org/MarkusThielker/next-ory.git
synced 2025-07-05 22:29:17 +00:00
NORY-9: include return_to value in links
This commit is contained in:
parent
93acfb7cfc
commit
7300b37f73
4 changed files with 22 additions and 8 deletions
|
@ -114,7 +114,10 @@ export default function Recovery() {
|
|||
{
|
||||
flow ?
|
||||
<Button variant="link" asChild disabled={!flow}>
|
||||
<Link href="/flow/login" className="inline-flex space-x-2" passHref>
|
||||
<Link
|
||||
href={{ pathname: '/flow/login', query: { return_to: flow.return_to } }}
|
||||
className="inline-flex space-x-2"
|
||||
passHref>
|
||||
Back to login
|
||||
</Link>
|
||||
</Button>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue