projects
/
mediagoblin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
517eb8b
)
only create a user if the register_form is from the ldap plugin
author
Rodney Ewing
<ewing.rj@gmail.com>
Tue, 9 Jul 2013 17:49:00 +0000
(10:49 -0700)
committer
Rodney Ewing
<ewing.rj@gmail.com>
Thu, 15 Aug 2013 22:58:14 +0000
(15:58 -0700)
mediagoblin/plugins/ldap/__init__.py
patch
|
blob
|
blame
|
history
diff --git
a/mediagoblin/plugins/ldap/__init__.py
b/mediagoblin/plugins/ldap/__init__.py
index 18203c92e302ad31e69efecf2d1b5fb142e12021..64474cce5cd70bed6b6c970570db40d0ea71f939 100644
(file)
--- a/
mediagoblin/plugins/ldap/__init__.py
+++ b/
mediagoblin/plugins/ldap/__init__.py
@@
-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():