1. liads
  2. RhodeCode

Commits

Marcin Kuzminski  committed 59c26a9

typo fixes

  • Participants
  • Parent commits cb8b4b7
  • Branches beta

Comments (0)

Files changed (2)

File rhodecode/controllers/admin/users.py

View file
  • Ignore whitespace
         # 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')

File rhodecode/lib/auth.py

View file
  • Ignore whitespace
 
 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
     """