tolgee-platform icon indicating copy to clipboard operation
tolgee-platform copied to clipboard

feat: Ability to resend registration email

Open huglx opened this issue 1 year ago • 1 comments

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

huglx avatar Jun 24 '24 13:06 huglx

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.

huglx avatar Jun 27 '24 10:06 huglx

Ok, seems like everything is working, but there are some e2e tests failing.

stepan662 avatar Jul 15 '24 07:07 stepan662