mirror of
https://github.com/aaPanel/aaPanel.git
synced 2026-09-11 03:57:40 +02:00
#Optimize APP login
#Add XSS filtering in more places
This commit is contained in:
@@ -25,6 +25,7 @@ class data:
|
||||
'''
|
||||
def setPs(self,get):
|
||||
id = get.id
|
||||
get.ps = public.xssencode(get.ps)
|
||||
if public.M(get.table).where("id=?",(id,)).setField('ps',get.ps):
|
||||
return public.returnMsg(True,'EDIT_SUCCESS')
|
||||
return public.returnMsg(False,'EDIT_ERROR')
|
||||
|
||||
Reference in New Issue
Block a user