Skip to content

Commit

Permalink
WLC #727.FIX first-time user filter to exclude internal.
Browse files Browse the repository at this point in the history
  • Loading branch information
sharpeez committed Mar 3, 2021
1 parent 5286d5b commit 35aa36f
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 35aa36f

Please sign in to comment.