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