aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2021-07-09 14:01:09 +0300
committerSyndamia <kamen.d.mladenov@protonmail.com>2021-07-09 14:01:09 +0300
commitea02b0a4b04ccd3c692a15f4db813c6d4f915feb (patch)
treeca6e3dfd3a800bd2022b0228d1db0f03b57f2ae9
parent366a50ac99594311268512e6fe3e158a63793683 (diff)
downloadctfc-ea02b0a4b04ccd3c692a15f4db813c6d4f915feb.tar
ctfc-ea02b0a4b04ccd3c692a15f4db813c6d4f915feb.tar.gz
ctfc-ea02b0a4b04ccd3c692a15f4db813c6d4f915feb.zip
Updated limitations of username and chat name
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 3084a48..6fcb579 100644
--- a/README.md
+++ b/README.md
@@ -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