fix hardwritten test
This commit is contained in:
parent
36d10deaab
commit
ce5f88b134
1 changed files with 1 additions and 1 deletions
|
@ -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']}
|
||||
seedlist.append(value)
|
||||
return render(request, 'seed_list.html', {'seed': seedlist})
|
||||
|
|
Loading…
Reference in a new issue