comparison rhodecode/lib/auth.py @ 1644:59c26a9aba63 beta

typo fixes
author Marcin Kuzminski <marcin@python-works.com>
date Wed, 02 Nov 2011 22:41:02 +0200
parents 2c0d35e336b5
children 7d1fc253549e
comparison
equal deleted inserted replaced
1638:cb8b4b7ac6e4 1644:59c26a9aba63
139 return hashlib.sha1(str_ + salt).hexdigest() 139 return hashlib.sha1(str_ + salt).hexdigest()
140 140
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 """
148 return authenticate(username, password) 149 return authenticate(username, password)
149 150