Mercurial > libervia-web
diff src/server/server.py @ 487:e588335b6aa8
browser and server side: force lower case for the profile name at new account creation + fixes CSS for textarea
author | souliane <souliane@mailoo.org> |
---|---|
date | Thu, 19 Jun 2014 19:28:17 +0200 |
parents | 437eefa53a01 |
children | 530c88c1deee |
line wrap: on
line diff
--- a/src/server/server.py Wed Jun 18 14:56:51 2014 +0200 +++ b/src/server/server.py Thu Jun 19 19:28:17 2014 +0200 @@ -674,7 +674,8 @@ value will be given later (one of those previously described) """ try: - profile = login = request.args['register_login'][0] + # XXX: for now libervia forces the creation to lower case + profile = login = request.args['register_login'][0].lower() password = request.args['register_password'][0] email = request.args['email'][0] except KeyError: