예제 #1
0
파일: ftpauth.py 프로젝트: wpjunior/proled
 def __init__(self, request):
     self.__request = request
     lpw = request._authUserPW()
     if lpw is None:
         login, password = None, None
     else:
         login, password = lpw
     LoginPassword.__init__(self, login, password)
예제 #2
0
 def __init__(self, request):
     self.__request = request
     # TODO base64 decoding should be done here, not in request
     lpw = request._authUserPW()
     if lpw is None:
         login, password = None, None
     else:
         login, password = lpw
     LoginPassword.__init__(self, login, password)