diff options
author | Colin Guthrie <colin@mageia.org> | 2014-03-28 14:45:12 +0000 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2014-03-28 14:45:12 +0000 |
commit | fe4e12677edc10061a1bd7c3bc180375d7e61ba3 (patch) | |
tree | ba3293ae66df7ec4393481f23776668c27731737 | |
parent | 2a463fae7d933686f21cc8058fc0e35461ca1fcd (diff) | |
download | identity-fe4e12677edc10061a1bd7c3bc180375d7e61ba3.tar identity-fe4e12677edc10061a1bd7c3bc180375d7e61ba3.tar.gz identity-fe4e12677edc10061a1bd7c3bc180375d7e61ba3.tar.bz2 identity-fe4e12677edc10061a1bd7c3bc180375d7e61ba3.tar.xz identity-fe4e12677edc10061a1bd7c3bc180375d7e61ba3.zip |
Do not allow _'s or -'s in usernames.
As discovered with david-david's account, the - in the username can
cause lots of problems with iurt (various regexps everywhere).
So let's just ban -'s in the username.
Also, I'm ifnormed by Akien that _'s cause problems due to:
http://www.mediawiki.org/wiki/Extension:LDAP_Authentication/FAQ#Authentication_fails_for_usernames_with_underscores.3B_how_do_I_fix_this.3F
So let's just ban _'s too.
-rw-r--r-- | catdap.yml | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -32,7 +32,7 @@ Model::User: start_tls: 1 register: - login_regex: ^[a-z][a-z0-9_-]*$ + login_regex: ^[a-z][a-z0-9]*$ login_blacklist: - apache |