only create a user if the register_form is from the ldap plugin

This commit is contained in:
Rodney Ewing 2013-07-09 10:49:00 -07:00
parent 517eb8b443
commit bcc12142ae

View File

@ -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():