diff options
| -rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -17,7 +17,7 @@ The task should serve as a "final exam" for developers who are learning the basi ### User accounts Each user must have the following properties: -- `string UserName`: between 2 and 40 characters (A-z, 0-9, ., \*, \_, -, at least one letter) +- `string UserName`: between 2 and 40 characters (A-z, 0-9, ., \*, \_, -, at least one letter, not already existing) - `string Password`: between 5 and 40 characters (any character, but at least one number) - `string Name`: between 2 and 60 characters (A-z, spaces, ', -) @@ -27,7 +27,7 @@ Passwords must be hashed. You decide on which algorithm to use. ### Chat rooms Each chat room must have the following properties: -- `string Name`: between 2 and 20 characters (A-z, 0-9, spaces, \_, -) +- `string Name`: between 2 and 20 characters (A-z, 0-9, spaces, \_, -, at least one letter, not already existing) - `string Description`: between 0 and 30 characters (any character) - `string Owner`: between 2 and 40 characters (must be an existing UserName, it's set automatically) - `string collection Messages`: a collection containing all messages |
