]> git.0d.be Git - panikdb.git/blobdiff - panikdb/aa/views.py
add option to not share contact details
[panikdb.git] / panikdb / aa / views.py
index 074f34d35d775384d434a2b0db733f781b7006ee..90d8513ea50d745b4a2c6f3b4947db32d7cbdf15 100644 (file)
@@ -15,7 +15,7 @@ profile_view = login_required(ProfileView.as_view())
 
 class ProfileContactEditView(UpdateView):
     model = User
-    fields = ['phone', 'mobile']
+    fields = ['phone', 'mobile', 'share_contact_details']
     success_url = reverse_lazy('profile-view')
 
     def get_object(self):