# HG changeset patch # User Marcin Kuzminski # Date 2011-11-02 20:41:02 # Node ID 59c26a9aba63ca01ea643ed4b0a8720ce1f7e987 # Parent cb8b4b7ac6e408e3f5a0a29b6942eb3917e8c4aa typo fixes diff --git a/rhodecode/controllers/admin/users.py b/rhodecode/controllers/admin/users.py --- a/rhodecode/controllers/admin/users.py +++ b/rhodecode/controllers/admin/users.py @@ -71,9 +71,9 @@ class UsersController(BaseController): # url('users') user_model = UserModel() - login_form = UserForm()() + user_form = UserForm()() try: - form_result = login_form.to_python(dict(request.POST)) + form_result = user_form.to_python(dict(request.POST)) user_model.create(form_result) h.flash(_('created user %s') % form_result['username'], category='success') diff --git a/rhodecode/lib/auth.py b/rhodecode/lib/auth.py --- a/rhodecode/lib/auth.py +++ b/rhodecode/lib/auth.py @@ -141,7 +141,8 @@ def generate_api_key(str_, salt=None): def authfunc(environ, username, password): """ - Dummy authentication function used in Mercurial/Git/ and access control, + Dummy authentication wrapper function used in Mercurial and Git for + access control. :param environ: needed only for using in Basic auth """