How should I design a password reset flow when the PasswordService depends on UserRepository (email vs ID)?

📝

内容提要

I’m working on a three layers architecture backend (Laravel). Here’s the context: I have a PasswordService responsible for updating a user’s password. and a Otpservice responsible for...

➡️

继续阅读