Ridge Accounts has a registration boundary, a login limiter and an authentication response contract. Its reviewers supplied ordinary requests alongside attempts that exploit storage choices, threshold comparisons and account-disclosing errors. Keep the exact password value intact, apply the active limit window and return the documented failure response.
Each exercise uses a fresh fictional account scenario. The hashing helper and attempts table remain teaching stand-ins, with the same limits explained in the lessons. They don't measure cracking cost, distributed limiter behavior or response timing. Do not replace the feature with a blanket refusal: valid registration and permitted sign-in checks must still work. This practice combines earlier skills without introducing another authentication mechanism.
Read the fixed handler, then apply the same idea to each exercise.