diff options
| author | 2023-10-13 06:33:12 +0200 | |
|---|---|---|
| committer | 2023-10-13 06:33:12 +0200 | |
| commit | 253e7f9eaa3f3279f2a8639949f74acf0797de33 (patch) | |
| tree | bb7ff4868154bdad2325c27fdd0b4c55083dd5f4 /utils.c | |
| parent | Updated TODO. (diff) | |
| download | penes-snac2-253e7f9eaa3f3279f2a8639949f74acf0797de33.tar.gz penes-snac2-253e7f9eaa3f3279f2a8639949f74acf0797de33.tar.xz penes-snac2-253e7f9eaa3f3279f2a8639949f74acf0797de33.zip | |
Don't allow creating users which user name strings only differ in case.
Diffstat (limited to '')
| -rw-r--r-- | utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -244,7 +244,7 @@ int adduser(const char *uid) | |||
| 244 | } | 244 | } |
| 245 | 245 | ||
| 246 | if (user_open(&snac, uid)) { | 246 | if (user_open(&snac, uid)) { |
| 247 | printf("ERROR: user '%s' already exists\n", uid); | 247 | printf("ERROR: user '%s' already exists\n", snac.uid); |
| 248 | return 1; | 248 | return 1; |
| 249 | } | 249 | } |
| 250 | 250 | ||