* Fixed bug at choose callbacks (from gui) that was calling directly to validateCredentials instead of using @needs_credentials decorator

This commit is contained in:
Adolfo Gómez 2012-09-15 09:54:15 +00:00
parent 0044318388
commit 14c83cca68

View File

@ -32,12 +32,13 @@
'''
from ..auths.AdminAuth import validateCredentials
from ..auths.AdminAuth import needs_credentials
from uds.core.ui.UserInterface import gui
@needs_credentials
def chooseCallback(credentials, name, parameters):
validateCredentials(credentials)
res = {}
params = {}
for p in parameters: