Skip to content

Commit

Permalink
Add a FIXME for an unhandled case
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Hammond committed Nov 20, 2012
1 parent 611b87a commit a6392b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ckan/logic/auth/get.py
Expand Up @@ -192,6 +192,8 @@ def get_site_user(context, data_dict):


def dashboard_activity_list(context, data_dict):
# FIXME: context['user'] could be an IP address but that case is not
# handled here. Maybe add an auth helper function like is_logged_in().
if context.get('user'):
return {'success': True}
else:
Expand Down

0 comments on commit a6392b5

Please sign in to comment.