4 ms·
You don't need VerifiedUser in the moment user click verification link. It's a state changing action. You get verified user from db and work with it later.
by bvrmn 2y ago
You don't need VerifiedUser in the moment user click verification link. It's a state changing action. You get verified user from db and work with it later.
- TeMPOraL 2y agoFine. It still has merit that the code pulling verified user data from verified users table returns VerifiedUser objects, so the code processing them is clear about its assumptions, and won't accidentally get reused or refactored in UnverifiedUser flows.