mirror of
https://github.com/bryangerlach/rdgen.git
synced 2025-11-29 08:33:23 +00:00
hidecm
This commit is contained in:
@@ -121,7 +121,7 @@ def generator_view(request):
|
|||||||
decodedCustom['default-settings']['theme'] = theme
|
decodedCustom['default-settings']['theme'] = theme
|
||||||
elif themeDorO == "override":
|
elif themeDorO == "override":
|
||||||
decodedCustom['override-settings']['theme'] = theme
|
decodedCustom['override-settings']['theme'] = theme
|
||||||
decodedCustom['approve-mode'] = passApproveMode
|
#decodedCustom['approve-mode'] = passApproveMode
|
||||||
decodedCustom['enable-lan-discovery'] = 'N' if denyLan else 'Y'
|
decodedCustom['enable-lan-discovery'] = 'N' if denyLan else 'Y'
|
||||||
#decodedCustom['direct-server'] = 'Y' if enableDirectIP else 'N'
|
#decodedCustom['direct-server'] = 'Y' if enableDirectIP else 'N'
|
||||||
decodedCustom['allow-auto-disconnect'] = 'Y' if autoClose else 'N'
|
decodedCustom['allow-auto-disconnect'] = 'Y' if autoClose else 'N'
|
||||||
@@ -140,6 +140,7 @@ def generator_view(request):
|
|||||||
decodedCustom['default-settings']['direct-server'] = 'Y' if enableDirectIP else 'N'
|
decodedCustom['default-settings']['direct-server'] = 'Y' if enableDirectIP else 'N'
|
||||||
decodedCustom['default-settings']['hide-cm'] = 'Y' if hidecm else 'N'
|
decodedCustom['default-settings']['hide-cm'] = 'Y' if hidecm else 'N'
|
||||||
decodedCustom['default-settings']['verification-method'] = 'use-permanent-password' if hidecm else 'use-both-passwords'
|
decodedCustom['default-settings']['verification-method'] = 'use-permanent-password' if hidecm else 'use-both-passwords'
|
||||||
|
decodedCustom['default-settings']['approve-mode'] = passApproveMode
|
||||||
else:
|
else:
|
||||||
decodedCustom['override-settings']['access-mode'] = permissionsType
|
decodedCustom['override-settings']['access-mode'] = permissionsType
|
||||||
decodedCustom['override-settings']['enable-keyboard'] = 'Y' if enableKeyboard else 'N'
|
decodedCustom['override-settings']['enable-keyboard'] = 'Y' if enableKeyboard else 'N'
|
||||||
|
|||||||
Reference in New Issue
Block a user