X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FMethods%2FAdmGetSitePersons.py;h=ca6b47fc79840a1cadb0e6e03d1f2792161af7c4;hb=1f8c38dd1357c93e4be8d94456b7274a591d2db4;hp=58bd51e9f53d10795988749a37af04d8cb45776d;hpb=8a487f290fe09f77b4e1c1bf7ddb38a5ab4832e6;p=plcapi.git diff --git a/PLC/Methods/AdmGetSitePersons.py b/PLC/Methods/AdmGetSitePersons.py index 58bd51e..ca6b47f 100644 --- a/PLC/Methods/AdmGetSitePersons.py +++ b/PLC/Methods/AdmGetSitePersons.py @@ -2,7 +2,7 @@ from PLC.Faults import * from PLC.Method import Method from PLC.Parameter import Parameter, Mixed from PLC.Sites import Site, Sites -from PLC.Auth import PasswordAuth +from PLC.Auth import Auth class AdmGetSitePersons(Method): """ @@ -19,7 +19,7 @@ class AdmGetSitePersons(Method): roles = ['admin', 'pi'] accepts = [ - PasswordAuth(), + Auth(), Mixed(Site.fields['site_id'], Site.fields['login_base']) ]