Fix enable/disable user audit message
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
89ba8c6c6d
commit
9ec4527cb7
|
@ -100,7 +100,9 @@ class UserManagement extends Action {
|
||||||
switch($params['feature']) {
|
switch($params['feature']) {
|
||||||
case 'enabled':
|
case 'enabled':
|
||||||
$this->log(
|
$this->log(
|
||||||
$params['value'] === 'true' ? 'User enabled: "%s"' : 'User disabled: "%s"',
|
$params['value'] === true
|
||||||
|
? 'User enabled: "%s"'
|
||||||
|
: 'User disabled: "%s"',
|
||||||
['user' => $params['user']->getUID()],
|
['user' => $params['user']->getUID()],
|
||||||
[
|
[
|
||||||
'user',
|
'user',
|
||||||
|
|
Loading…
Reference in New Issue