tolgee-platform icon indicating copy to clipboard operation
tolgee-platform copied to clipboard

Improve handling of disabled accounts

Open Anty0 opened this issue 2 months ago • 0 comments

Describe the bug Currently, disabled accounts remain in the database, but the system doesn't properly check for them during login or sign-up. Because the UserAccount model enforces a unique constraint on username for non-deleted users, re-registering a previously disabled user causes a constraint violation that isn't handled gracefully.

Expected behavior Users should be directed to the organization owner or server administrator to have their disabled account restored.

Anty0 avatar Oct 14 '25 14:10 Anty0