Create a new separated ticket based on the suggestion in the provided issue in order to…
- User
Create a new separated ticket based on the suggestion in the provided issue in order to report a bug with: Title, Description, Steps To Reproduce.
Assistant
Title: User Not Logged Out After Deleting Own Account
Description:
Currently, users with the necessary permissions to delete their own account are not automatically logged out after performing this action. This can lead to unexpected behavior and errors, as the application may still attempt to use the deleted account's context. This is especially problematic if the deleted account was the only administrator, as it prevents access to rectify the situation without external intervention (e.g., CLI, database manipulation). An automatic logout would improve the user experience and prevent runtime issues stemming from a deleted user's session persisting.
Steps To Reproduce:
- Set up Directus: Install a fresh instance of Directus (any supported version). The database used (SQLite, PostgreSQL, etc.) should not affect the reproduction of this issue.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.