summaryrefslogtreecommitdiff
path: root/src/rabbit_reader.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rabbit_reader.erl')
-rw-r--r--src/rabbit_reader.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_reader.erl b/src/rabbit_reader.erl
index 31e60e9a..0c5f0232 100644
--- a/src/rabbit_reader.erl
+++ b/src/rabbit_reader.erl
@@ -1127,7 +1127,7 @@ notify_auth_result(Username, AuthResult, ExtraProps, State) ->
end ++
[{name, case Username of none -> ''; _ -> Username end}] ++
ExtraProps,
- rabbit_event:notify(AuthResult, EventProps).
+ rabbit_event:notify(AuthResult, [P || {_, V} = P <- EventProps, V =/= '']).
%%--------------------------------------------------------------------------