Fix the hack?

This commit is contained in:
Andrew Grant committed 2021-06-28 21:22:47 -04:00
1 parent 2e34ca6aaa
commit f97e45b07d
1 file changed
+1 -1
+1 -1
View File
@@ -604,7 +604,7 @@ def clientGetWorkload(request):
# HACK: Make Noobpwnftw's workers jump around
if request.POST['username'] == 'WorkerPool':
if random.randrange(2) == 1:
return 'None'
return HttpResponse('None')
# Verify the User's credentials
try: user = authenticate(request, True)