feat: Ability to resend registration email
Added:
- limit the number of the requests per hour to some constant per e-mail and ip
- Enable to the user to login, but without any permissions, telling them, they should verify
- backend endpoint to resend the verification link Hi @JanCizmar, could you please provide feedback so I can see if I am doing this correctly? Thanks
I added the FE part. @stepan662, please review it. And I have some questions on the FE part. I added icons in 2 variants (dark mode and light mode), is this a normal way to store multiple icons? And I wrote a part in ApiErrorHandling that handles 429 error, check if it's ok.
I also have a question about the speed limiter. Is it OK that I only store the IP of the user? That way, if the user entered the wrong email and sent too many requests, he has to wait for a while after entering the correct email. On the other hand, someone could change the IP and spam.
Ok, seems like everything is working, but there are some e2e tests failing.