Commit ce5f88b1 authored by William Colmenares's avatar William Colmenares

fix hardwritten test

parent 36d10dea
......@@ -688,7 +688,7 @@ class Seeds(LoginRequiredMixin, View):
{'auth_name': admin_name, 'auth_realm': admin_realm, 'auth_token': TOTP(admin_seed).now()}))
response_data = json.loads(response.text)
for i in range(len(response_data)):
if response_data[i]['name'] == 'wcolmenares': #request.user:
if response_data[i]['name'] == request.user.username:
value = {'realm': response_data[i]['realm'], 'seed': response_data[i]['seed']}
return render(request, 'seed_list.html', {'seed': seedlist})
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment