##// END OF EJS Templates
typo fixes
marcink -
r1644:59c26a9a beta
parent child Browse files
Show More
@@ -71,9 +71,9 b' class UsersController(BaseController):'
71 # url('users')
71 # url('users')
72
72
73 user_model = UserModel()
73 user_model = UserModel()
74 login_form = UserForm()()
74 user_form = UserForm()()
75 try:
75 try:
76 form_result = login_form.to_python(dict(request.POST))
76 form_result = user_form.to_python(dict(request.POST))
77 user_model.create(form_result)
77 user_model.create(form_result)
78 h.flash(_('created user %s') % form_result['username'],
78 h.flash(_('created user %s') % form_result['username'],
79 category='success')
79 category='success')
@@ -141,7 +141,8 b' def generate_api_key(str_, salt=None):'
141
141
142 def authfunc(environ, username, password):
142 def authfunc(environ, username, password):
143 """
143 """
144 Dummy authentication function used in Mercurial/Git/ and access control,
144 Dummy authentication wrapper function used in Mercurial and Git for
145 access control.
145
146
146 :param environ: needed only for using in Basic auth
147 :param environ: needed only for using in Basic auth
147 """
148 """
General Comments 0
You need to be logged in to leave comments. Login now