mirror of https://github.com/tp4a/teleport
parent
c019172197
commit
797ab4bd8f
|
@ -36,9 +36,11 @@ class RemoteHandler(TPBaseHandler):
|
||||||
return
|
return
|
||||||
|
|
||||||
err, groups = group.get_host_groups_for_user(self.current_user['id'], self.current_user['privilege'])
|
err, groups = group.get_host_groups_for_user(self.current_user['id'], self.current_user['privilege'])
|
||||||
|
_cfg = tp_cfg()
|
||||||
param = {
|
param = {
|
||||||
'host_groups': groups,
|
'host_groups': groups,
|
||||||
'core_cfg': tp_cfg().core
|
'core_cfg': _cfg.core,
|
||||||
|
'url_proto': _cfg.sys.glob.url_proto
|
||||||
}
|
}
|
||||||
|
|
||||||
# param = {
|
# param = {
|
||||||
|
|
Loading…
Reference in New Issue