Fix the hack?
This commit is contained in:
1 parent
2e34ca6aaa
commit
f97e45b07d
1 file changed
+1
-1
+1
-1
@@ -604,7 +604,7 @@ def clientGetWorkload(request):
|
|||||||
# HACK: Make Noobpwnftw's workers jump around
|
# HACK: Make Noobpwnftw's workers jump around
|
||||||
if request.POST['username'] == 'WorkerPool':
|
if request.POST['username'] == 'WorkerPool':
|
||||||
if random.randrange(2) == 1:
|
if random.randrange(2) == 1:
|
||||||
return 'None'
|
return HttpResponse('None')
|
||||||
|
|
||||||
# Verify the User's credentials
|
# Verify the User's credentials
|
||||||
try: user = authenticate(request, True)
|
try: user = authenticate(request, True)
|
||||||
|
|||||||
Reference in new issue
Block a user