You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Password Reset with Valid But Non-Existent User ID Returns Unhandled 500 #9172
When I follow a password reset link that contains a valid base64-encoded but non-existent user ID, the server crashes with an unhandled DoesNotExist exception and I see the error message attached below:
User.DoesNotExist: User matching query does not exist.
What I expect is a redirect to the error page with a clear message that the reset link is invalid.
File: apps/api/plane/authentication/views/space/password_management.py — ResetPasswordSpaceEndpoint.post() calls User.objects.get(id=id) but only catches DjangoUnicodeDecodeError, leaving User.DoesNotExist unhandled
Steps to reproduce
Construct a password reset URL with a valid base64-encoded UUID that doesn't correspond to any user
Submit the reset form
See 500 error instead of a redirect to the error page
Activity
makeplane commentedon May 30, 2026
Synced with Plane Workspace 🔄
[GIT-224] Password Reset with Valid But Non-Existent User ID Returns Unhandled 500
OliverCordingl1 commentedon Jun 10, 2026
I'm able to reproduce this
fix(api): redirect instead of 500 on an invalid password reset link