removed active flag in user preferences form for own profile (#696)
This commit is contained in:
committed by
Kevin Papst
parent
0d6b8486c4
commit
136df3724f
@@ -320,7 +320,8 @@ class ProfileController extends AbstractController
|
||||
$user,
|
||||
[
|
||||
'action' => $this->generateUrl('user_profile_edit', ['username' => $user->getUsername()]),
|
||||
'method' => 'POST'
|
||||
'method' => 'POST',
|
||||
'include_active_flag' => ($user->getId() !== $this->getUser()->getId())
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user