Changeset - dc4709e7da51
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 13 years ago 2012-08-29 00:56:00
marcin@python-works.com
fixed passing password via API create_user
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
rhodecode/controllers/api/api.py
Show inline comments
 
@@ -263,7 +263,7 @@ class ApiController(JSONRPCController):
 
        if UserModel().get_by_email(email, case_insensitive=True):
 
            raise JSONRPCError("email `%s` already exist" % email)
 

	
 
        if ldap_dn:
 
        if Optional.extract(ldap_dn):
 
            # generate temporary password if ldap_dn
 
            password = PasswordGenerator().gen_password(length=8)
 

	
0 comments (0 inline, 0 general)