feat(users): add reset password flow (#772)

This commit is contained in:
Jakob Ankarhem
2021-02-05 15:23:57 +01:00
committed by GitHub
parent c0ea2bd189
commit e5966bd3fb
18 changed files with 734 additions and 29 deletions

View File

@@ -25,7 +25,7 @@ export const UserContext: React.FC<UserContextProps> = ({
useEffect(() => {
if (
!router.pathname.match(/(setup|login)/) &&
!router.pathname.match(/(setup|login|resetpassword)/) &&
(!user || error) &&
!routing.current
) {