Exemplo n.º 1
0
 def get_password(self) -> str:
     password = FileAuthenticatorBase.get_password(self)
     if not password:
         return password
     if password.find(b"\n")>=0 or password.find(b"\r")>=0:
         log.warn("Warning: newline found in password data")
         log.warn(" this is usually a mistake")
     return password
Exemplo n.º 2
0
 def __init__(self, username, **kwargs):
     FileAuthenticatorBase.__init__(self, username, **kwargs)
     self.sessions = None
Exemplo n.º 3
0
 def __init__(self, username, **kwargs):
     FileAuthenticatorBase.__init__(self, username, **kwargs)
     self.sessions = None