You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: stage_descriptions/auth-04-pl7.md
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,10 @@
1
1
In this stage, you'll add support for responding to the `ACL GETUSER` command with the `passwords` property.
2
2
3
-
### The `passwords`property
3
+
### The `passwords`Property
4
4
5
-
The `passwords` property lists all hash-encoded passwords associated with the user. The `default` user does not have any associated passwords unless explicitly configured:
5
+
The `passwords` property lists all hash-encoded passwords associated with a user.
6
+
7
+
The `default` user does not have any associated passwords unless explicitly configured:
6
8
7
9
```bash
8
10
> ACL GETUSER default
@@ -12,10 +14,10 @@ The `passwords` property lists all hash-encoded passwords associated with the us
12
14
4) (empty array)
13
15
```
14
16
15
-
Your `ACL GETUSER` response must now include the `passwords` property and its value:
17
+
Your `ACL GETUSER` response must now include the following:
16
18
17
-
- The string `passwords`, encoded as a bulk string.
18
-
- A RESP array containing the list of passwords. Since the `default` user has none, you must hardcode this to an empty array.
19
+
1. The string `passwords`, encoded as a bulk string.
20
+
2. A RESP array containing the list of passwords. Since the `default` user has none, you must hardcode this to be an empty array.
19
21
20
22
### Tests
21
23
@@ -28,9 +30,8 @@ $ ./your_program.sh
28
30
It will then send an `ACL GETUSER` command specifying the `default` user:
0 commit comments