d120 / d120/pyTUID

Crash when deleting TUIDUser while logged in

Open
#16 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

When an administrator deletes a TUIDUser while someone has an active session for that user, for any subsequent request from that session, the middleware produces a fatal crash.

This can likely be fixed by surrounding the database query in the middleware with a try-catch to invalidate the session (part) when the user is not found.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.