mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-25 00:24:45 +00:00
Remove checks for empty loginpasswordfield and loginuserfield
These have default values and cannot be reset.
This commit is contained in:
parent
1ec3848720
commit
085ae188f7
1 changed files with 0 additions and 8 deletions
|
|
@ -302,14 +302,6 @@ class Configuration(dict):
|
|||
"""Make login configuration consistent."""
|
||||
url = self["loginurl"]
|
||||
disable = False
|
||||
if not self["loginpasswordfield"]:
|
||||
log.warn(LOG_CHECK,
|
||||
_("no password input name attribute given for login URL."))
|
||||
disable = True
|
||||
if not self["loginuserfield"]:
|
||||
log.warn(LOG_CHECK,
|
||||
_("no username input name attribute given for login URL."))
|
||||
disable = True
|
||||
if self.get_user_password(url) == (None, None):
|
||||
log.warn(
|
||||
LOG_CHECK,
|
||||
|
|
|
|||
Loading…
Reference in a new issue