summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rabbit_types.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rabbit_types.erl b/src/rabbit_types.erl
index 91f2c4cae0..edc73f7000 100644
--- a/src/rabbit_types.erl
+++ b/src/rabbit_types.erl
@@ -146,9 +146,9 @@
-type(protocol() :: 'rabbit_framing_amqp_0_8' | 'rabbit_framing_amqp_0_9_1').
-type(user() ::
- #user{username :: rabbit_access_control:username(),
- password :: rabbit_access_control:password(),
- is_admin :: boolean()}).
+ #user{username :: rabbit_access_control:username(),
+ password_hash :: rabbit_access_control:password_hash(),
+ is_admin :: boolean()}).
-type(ok(A) :: {'ok', A}).
-type(error(A) :: {'error', A}).