only create a user if the register_form is from the ldap plugin
This commit is contained in:
parent
517eb8b443
commit
bcc12142ae
@ -33,7 +33,8 @@ def setup_plugin():
|
||||
|
||||
|
||||
def create_user(register_form):
|
||||
return create_basic_user(register_form)
|
||||
if 'username' in register_form and 'password' not in register_form:
|
||||
return create_basic_user(register_form)
|
||||
|
||||
|
||||
def no_pass_redirect():
|
||||
|
Loading…
x
Reference in New Issue
Block a user