Remove checks for empty loginpasswordfield and loginuserfield

These have default values and cannot be reset.
This commit is contained in:
Chris Mayo 2020-06-23 17:28:31 +01:00
parent 1ec3848720
commit 085ae188f7

View file

@ -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,