def __init__(self): AuthPlugin.__init__(self) self.username = '' self.password = '' self.username_field = '' self.password_field = '' self.auth_url = 'http://host.tld/' self.check_url = 'http://host.tld/' self.check_string = '' self._login_error = True
def __init__(self): AuthPlugin.__init__(self) self.username = '' self.password = '' self.username_field = '' self.password_field = '' self.method = 'POST' self.data_format = '%u=%U&%p=%P' self.auth_url = 'http://host.tld/' self.check_url = 'http://host.tld/' self.check_string = '' self._login_error = True