Skip to content

Commit

Permalink
Merge pull request #2 from sharpeez/wc_sprint10
Browse files Browse the repository at this point in the history
WLC #727.FIX first-time user filter to exclude internal.
  • Loading branch information
sharpeez authored Mar 3, 2021
2 parents f58b3e4 + 35aa36f commit a997035
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions wildlifecompliance/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ def is_new_to_wildlifelicensing(request=None):
if not is_wildlifelicensing_request(request):
has_user_details = True

if is_internal(request):
has_user_details = True

return not has_user_details

def belongs_to(user, group_name):
Expand Down

0 comments on commit a997035

Please sign in to comment.