Veiko Aasa
bcadf26ffc
users: More precise username validation
...
- Username should match [a-zA-Z0-9_.@-], can't start with '-'
- Use Python pwd module to retrieve all users instead of getent command.
- Checking, that a username already exists or is reservered, is case insensitive
Created usernames are now compatible with openldap and nslcd. Didn't change
urlpatterns in case of an invalid username is already created by the admin.
Closes #1773
Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-09 11:17:44 -05:00
..
2019-12-30 11:37:57 -05:00
2019-12-07 13:08:35 -05:00
2019-12-07 13:08:35 -05:00
2020-02-09 10:54:44 +05:30
2020-01-27 14:56:51 -08:00
2019-12-30 11:38:02 -05:00
2019-12-07 13:08:49 -05:00
2019-12-30 11:38:02 -05:00
2019-12-30 11:38:02 -05:00
2020-01-25 18:27:11 -05:00
2019-12-30 11:38:00 -05:00
2019-12-30 11:38:02 -05:00
2019-12-07 13:08:35 -05:00
2019-12-30 11:38:02 -05:00
2020-01-31 12:33:55 +02:00
2019-12-07 13:08:35 -05:00
2020-01-27 14:14:08 -08:00
2019-12-30 11:37:19 -05:00
2019-12-30 11:38:02 -05:00
2019-12-30 11:38:02 -05:00
2019-12-30 11:38:02 -05:00
2019-12-07 13:08:44 -05:00
2019-12-30 11:38:02 -05:00
2020-02-09 10:54:44 +05:30
2020-01-03 16:31:28 -08:00
2019-12-30 11:38:02 -05:00
2019-12-30 11:38:05 -05:00
2019-12-30 11:38:02 -05:00
2019-12-07 13:08:35 -05:00
2019-12-30 11:38:02 -05:00
2019-12-07 13:08:41 -05:00
2020-01-28 13:13:54 -08:00
2020-01-04 15:18:06 -05:00
2019-12-07 13:08:35 -05:00
2019-12-07 13:08:35 -05:00
2019-12-30 11:38:02 -05:00
2019-12-30 11:38:02 -05:00
2019-12-30 11:38:02 -05:00
2019-12-30 11:38:02 -05:00
2020-02-02 09:40:12 -05:00
2019-12-30 11:38:02 -05:00
2020-01-13 12:11:05 -08:00
2019-11-14 08:14:49 +05:30
2019-12-30 11:38:02 -05:00
2019-12-07 13:08:53 -05:00
2019-12-07 13:08:35 -05:00
2019-12-07 13:08:35 -05:00
2019-12-07 13:08:35 -05:00
2020-02-02 09:40:12 -05:00
2019-12-30 11:38:02 -05:00
2019-12-30 11:38:02 -05:00
2019-12-30 11:38:02 -05:00
2019-12-30 11:38:02 -05:00
2019-12-30 11:38:02 -05:00
2019-12-29 17:49:13 -08:00
2020-02-09 11:17:44 -05:00
2020-02-09 10:31:47 +05:30