Branch 5.0 for module PLCAPI created from tag PLCAPI-4.2-8
[plcapi.git] / PLC / Methods / AdmAddAddressType.py
index fb56b49..e0cd09d 100644 (file)
@@ -2,7 +2,7 @@ from PLC.Faults import *
 from PLC.Method import Method
 from PLC.Parameter import Parameter, Mixed
 from PLC.AddressTypes import AddressType, AddressTypes
-from PLC.Auth import PasswordAuth
+from PLC.Auth import Auth
 from PLC.Methods.AddAddressType import AddAddressType
 
 class AdmAddAddressType(AddAddressType):
@@ -13,7 +13,7 @@ class AdmAddAddressType(AddAddressType):
     status = "deprecated"
 
     accepts = [
-        PasswordAuth(),
+        Auth(),
         AddressType.fields['name']
         ]