Fixed missing invalidation of user tree views.

This commit is contained in:
Jan Böhmer 2020-01-08 20:50:37 +01:00
parent 3a081b6413
commit fc8ab93752
2 changed files with 3 additions and 1 deletions

View file

@ -82,6 +82,7 @@ use Symfony\Component\Validator\Constraints as Assert;
*
* @ORM\Entity(repositoryClass="App\Repository\UserRepository")
* @ORM\Table("`users`")
* @ORM\EntityListeners({"App\EntityListeners\TreeCacheInvalidationListener"})
* @UniqueEntity("name", message="validator.user.username_already_used")
*/
class User extends AttachmentContainingDBElement implements UserInterface, HasPermissionsInterface, TwoFactorInterface, BackupCodeInterface, TrustedDeviceInterface, U2FTwoFactorInterface, PreferredProviderInterface