Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Findeton committed Jun 28, 2024
1 parent 258a5fd commit bcf187a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions iam/api/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -791,12 +791,12 @@ def get(self, request, pk):
data = {}

if u and error is None:
data = {
'auth-token': genhmac(settings.SHARED_SECRET, u.username)
}
data = {}
auth_event = get_object_or_404(AuthEvent, pk=pk)
req = {}
auth_data = return_auth_data('Ping', req, request, u, auth_event)
if 'vote-permission-token' in auth_data:
data['auth-token'] = auth_data['auth-token']
if 'vote-permission-token' in auth_data:
data['vote-permission-token'] = auth_data['vote-permission-token']
if 'vote-children-info' in auth_data:
Expand Down

0 comments on commit bcf187a

Please sign in to comment.