build1 publisher
A try/catch around a Next.js server action swallows the redirect it was meant to protect
redirect() in Next.js works by throwing an internal error that the framework catches upstream to trigger navigation, so any catch block wide enough to enclose it turns a successful login into a logged failure.
Publishers:dev.to
Reality
- Evidence42
- Adoption
- Insufficient
- Hype gap+12
- Incentives55
- Confidence40