From fe4e12677edc10061a1bd7c3bc180375d7e61ba3 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Fri, 28 Mar 2014 14:45:12 +0000 Subject: 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. --- catdap.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1