forked from shaba/openuds
* Fixed bug at choose callbacks (from gui) that was calling directly to validateCredentials instead of using @needs_credentials decorator
This commit is contained in:
parent
0044318388
commit
14c83cca68
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user