kabisa / kudos-frontend

The frontend for the Kudos-o-Matic! (Mobile / Desktop)
2 stars 0 forks source link

Reset password token is not supplied to component as prop #157

Closed matthijsgroen closed 3 months ago

matthijsgroen commented 9 months ago

Reset password token is not supplied to component as prop

https://github.com/kabisa/kudos-frontend/blob/a1d1ea808f4e2b36facfa32d06599ccf8e854678/src/App.tsx#L70

The FinishForgotPasswordPage component requires a prop reset_password_token (not usual JS casing, but ok) This value should come from the URL, since the token is placed there by the reset password email.

https://github.com/kabisa/kudos-frontend/blob/a1d1ea808f4e2b36facfa32d06599ccf8e854678/src/modules/login/FinishForgotPasswordPage.tsx#L51-L54