Fix bug with unsetting keys

This commit is contained in:
Mark Veidemanis 2017-11-25 19:29:48 +00:00
parent 1145541155
commit ab7ac6bade
1 changed files with 4 additions and 3 deletions

View File

@ -671,6 +671,7 @@ class Helper(object):
toUnset = True toUnset = True
if spl[2] == "authtype": if spl[2] == "authtype":
if not toUnset:
if not spl[3] in ["sp", "ns"]: if not spl[3] in ["sp", "ns"]:
failure("Authtype must be sp or ns, not %s" % spl[3]) failure("Authtype must be sp or ns, not %s" % spl[3])
return return