Compare commits

..

No commits in common. "d0ba096710094301b9eb1450701ff3436e46d401" and "654dfceaf0f318dac8743f37df889f6395442b26" have entirely different histories.

2 changed files with 0 additions and 5 deletions

1
.gitignore vendored
View File

@ -1 +0,0 @@
__pycache__

View File

@ -117,10 +117,6 @@ def register():
if len(password) < 8:
return 'Error: password is too short'
# Check if username has uppercase
if username.islower() == False:
return 'Error: uppercase characters in username are not allowed'
# Create a LUSER connection
luser = LUSER(LDAPHOST,LDAPADMINNAME,LDAPPASS,USERBASE,ALTUSERBASE)
# Try to add user