diff --git a/app.py b/app.py index 6a5c135..3059435 100644 --- a/app.py +++ b/app.py @@ -655,7 +655,8 @@ def register(conf, username, firstname, surname, password, email, isFake, device firstname, 'sn': surname, 'uid' : username, 'mail': email, 'active': False, 'fakeCn': isFake, 'devices':device, 'ip':request.environ.get('HTTP_X_REAL_IP', request.remote_addr), 'lastLogin': ts, 'secureAuth': False} - new_user_dn = "cn="+firstname+" "+surname+" - "+username+",cn=users,"+conf['base'] + #new_user_dn = "cn="+firstname+" "+surname+" - "+username+",cn=users,"+conf['base'] + new_user_dn = "cn="+firstname+" "+surname+",cn=users,"+conf['base'] c.add(dn=new_user_dn,object_class=OBJECT_CLASS, attributes=attributes) #create/change user password c.extend.standard.modify_password(new_user_dn, '', password) diff --git a/data/invite-codes.db b/data/invite-codes.db index b5f20c3..601bac0 100644 Binary files a/data/invite-codes.db and b/data/invite-codes.db differ