"lowercase for mail"
This commit is contained in:
parent
6c637bbff7
commit
4de4d4f394
@ -759,7 +759,7 @@ def confirm_link(LINK_ID):
|
||||
def register():
|
||||
""" Allow self registration """
|
||||
try:
|
||||
login = request.form.get('login').encode('utf-8')
|
||||
login = request.form.get('login').lower().encode('utf-8')
|
||||
password = request.form.get('password').encode('utf-8')
|
||||
confirm = request.form.get('confirm').encode('utf-8')
|
||||
message = "Erreur lors de l'enregsitrement: L'utilisateur existe t-il déjà ?".decode('utf-8')
|
||||
|
Loading…
Reference in New Issue
Block a user