This commit is contained in:
Björn Fromme
2023-07-08 16:21:05 +02:00
parent 305699b1ac
commit dc5b9a9238
17 changed files with 297 additions and 176 deletions
+1 -1
View File
@@ -132,7 +132,7 @@ class User implements UserInterface
public function getRoles(): array
{
return ['ROLE_USER'];
return ['ROLE_USER', $this->getRole()];
}
public function eraseCredentials(): void