removed active flag in user preferences form for own profile (#696)

This commit is contained in:
Simone Gasparini
2019-04-16 17:30:51 +02:00
committed by Kevin Papst
parent 0d6b8486c4
commit 136df3724f
4 changed files with 47 additions and 5 deletions

View File

@@ -189,7 +189,8 @@ class UserController extends AbstractController
{
return $this->createForm(UserCreateType::class, $user, [
'action' => $this->generateUrl('admin_user_create'),
'method' => 'POST'
'method' => 'POST',
'include_active_flag' => true
]);
}
}