We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f94fc56 commit 7bd454bCopy full SHA for 7bd454b
administrator/components/com_users/src/Model/UserModel.php
@@ -292,7 +292,7 @@ public function save($data)
292
}
293
294
// Destroy all active sessions for the user after changing the password or blocking him
295
- if ($data['password2'] || $data['block']) {
+ if (!empty($data['password2']) || $data['block']) {
296
UserHelper::destroyUserSessions($user->id, true);
297
298
0 commit comments