bug fix: change path of bwmeta

This commit is contained in:
Usman Nasir
2022-05-11 12:45:24 +05:00
parent 0b4005e5c3
commit 61ee1842a9

View File

@@ -249,6 +249,13 @@ def design(request):
cosmetic = CyberPanelCosmetic()
cosmetic.save()
val = request.session['userID']
currentACL = ACLManager.loadedACL(val)
if currentACL['admin'] == 1:
pass
else:
return ACLManager.loadErrorJson('reboot', 0)
finalData = {}
if request.method == 'POST':