Beispiel #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
Beispiel #2
0
 def __init__(self, username, **kwargs):
     FileAuthenticatorBase.__init__(self, username, **kwargs)
     self.sessions = None
Beispiel #3
0
 def __init__(self, username, **kwargs):
     FileAuthenticatorBase.__init__(self, username, **kwargs)
     self.sessions = None