Skip to content

Commit

Permalink
fix(preferences): disable privacy options form
Browse files Browse the repository at this point in the history
  • Loading branch information
theo-o committed Oct 10, 2019
1 parent 6d198f3 commit e5fd4b6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion intranet/apps/preferences/views.py
Expand Up @@ -337,9 +337,11 @@ def preferences_view(request):
preferred_pic_form = PreferredPictureForm(user, initial=preferred_pic)
bus_route_form = BusRouteForm(initial=bus_route)

"""
privacy_options = get_privacy_options(user)
logger.debug(privacy_options)
privacy_options_form = PrivacyOptionsForm(user, initial=privacy_options)
"""
privacy_options_form = None
else:
bus_route_form = None
preferred_pic = None
Expand Down

0 comments on commit e5fd4b6

Please sign in to comment.