aboutsummaryrefslogtreecommitdiffstats
path: root/catdap.yml
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2014-03-28 14:45:12 +0000
committerColin Guthrie <colin@mageia.org>2014-03-28 14:45:12 +0000
commitfe4e12677edc10061a1bd7c3bc180375d7e61ba3 (patch)
treeba3293ae66df7ec4393481f23776668c27731737 /catdap.yml
parent2a463fae7d933686f21cc8058fc0e35461ca1fcd (diff)
downloadidentity-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.
Diffstat (limited to 'catdap.yml')
-rw-r--r--catdap.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/catdap.yml b/catdap.yml
index dd82ea8..ba1c46f 100644
--- a/catdap.yml
+++ b/catdap.yml
@@ -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