Compare commits
No commits in common. "d0ba096710094301b9eb1450701ff3436e46d401" and "654dfceaf0f318dac8743f37df889f6395442b26" have entirely different histories.
d0ba096710
...
654dfceaf0
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +0,0 @@
|
||||
__pycache__
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user