mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Remove duplicatated code
I just noticed what looks like a copy/paste artifact here or a merge conflict resolution, not sure
This commit is contained in:
parent
fbb6728179
commit
bb6fbdd7af
1 changed files with 0 additions and 7 deletions
|
@ -1207,13 +1207,6 @@ class LowDataAdapter:
|
|||
except (TypeError, ValueError):
|
||||
raise cherrypy.HTTPError(401, "Invalid token")
|
||||
|
||||
if "token" in chunk:
|
||||
# Make sure that auth token is hex
|
||||
try:
|
||||
int(chunk["token"], 16)
|
||||
except (TypeError, ValueError):
|
||||
raise cherrypy.HTTPError(401, "Invalid token")
|
||||
|
||||
if client:
|
||||
chunk["client"] = client
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue