Skip to content

Commit

Permalink
Disable the forgot your password button (#5624)
Browse files Browse the repository at this point in the history
Co-authored-by: Charles <cc.lee@live.com.au>
  • Loading branch information
timleslie and gwyneplaine committed May 6, 2021
1 parent 7e24b9c commit 868d89f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/sour-sheep-tie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@keystone-next/auth': patch
---

Disabled the `Forgot your password` button on the signin page, which is not yet functional.
7 changes: 4 additions & 3 deletions packages-next/auth/src/pages/SigninPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const SigninPage = ({
... on ${successTypename} {
item {
id
}
}
}
... on ${failureTypename} {
message
Expand Down Expand Up @@ -142,9 +142,10 @@ export const SigninPage = ({
>
Sign In
</Button>
<Button weight="none" tone="active" onClick={() => setMode('forgot password')}>
{/* Disabled until we come up with a complete password reset workflow */}
{/* <Button weight="none" tone="active" onClick={() => setMode('forgot password')}>
Forgot your password?
</Button>
</Button> */}
</Stack>
)}
</Stack>
Expand Down

1 comment on commit 868d89f

@vercel
Copy link

@vercel vercel bot commented on 868d89f May 6, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.