Fix: If user get locked out, unlocking or deleting user fails (Fix #4641) (#4644)

This is due to the fact our UserService is a singleton, and it had a
reference on UserManager which is scoped.

UserManager is caching user entities at the scope level.
UserService then had a view completely unsynchronized with the database.
This commit is contained in:
Nicolas Dorier 2023-02-15 16:00:52 +09:00 committed by GitHub
parent 5121d64022
commit 285aedef2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

Diff Content Not Available