diff options
| author | Syndamia <kamen.d.mladenov@protonmail.com> | 2021-07-09 14:01:09 +0300 |
|---|---|---|
| committer | Syndamia <kamen.d.mladenov@protonmail.com> | 2021-07-09 14:01:09 +0300 |
| commit | ea02b0a4b04ccd3c692a15f4db813c6d4f915feb (patch) | |
| tree | ca6e3dfd3a800bd2022b0228d1db0f03b57f2ae9 /README.md | |
| parent | 366a50ac99594311268512e6fe3e158a63793683 (diff) | |
| download | ctfc-ea02b0a4b04ccd3c692a15f4db813c6d4f915feb.tar ctfc-ea02b0a4b04ccd3c692a15f4db813c6d4f915feb.tar.gz ctfc-ea02b0a4b04ccd3c692a15f4db813c6d4f915feb.zip | |
Updated limitations of username and chat name
Diffstat (limited to 'README.md')
| -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 |
