mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
remove commented code
This commit is contained in:
parent
420817a963
commit
8847289c3e
@ -635,11 +635,6 @@ def salt_ip_verify_tool():
|
||||
if rem_ip not in auth_ip_list:
|
||||
logger.error("Blocked IP: {0}".format(rem_ip))
|
||||
raise cherrypy.HTTPError(403, 'Bad IP')
|
||||
#cherrypy.response.status = 403
|
||||
#return {
|
||||
# 'status': cherrypy.response.status,
|
||||
# 'return': "Bad IP",
|
||||
#}
|
||||
|
||||
|
||||
def salt_auth_tool():
|
||||
|
Loading…
Reference in New Issue
Block a user