Remove twitteruser field from blog registration
authorMagnus Hagander <magnus@hagander.net>
Thu, 23 Nov 2023 14:35:39 +0000 (15:35 +0100)
committerMagnus Hagander <magnus@hagander.net>
Thu, 23 Nov 2023 14:37:09 +0000 (15:37 +0100)
We can't verify it anymore, and this blocks anybody from saving a blog
that has twitteruser on it.

Twitter does not provide any way to verify the existance of a user
anymore, other than paying $$$$. So we'll just cut the field for now, to
make things work again.

This does not remove *existing* registrations of twitter users, but it
does make it impossible to register new ones.

Issues reported by several different people.

hamnadmin/hamnadmin/register/forms.py

index 92aa10027edc43dfbfd2e3d73b5e53e6e2a62117..5bf21ba2a5d902c71125cf47e3bbf81ad913c220 100644 (file)
@@ -13,7 +13,7 @@ import requests_oauthlib
 class BlogEditForm(forms.ModelForm):
     class Meta:
         model = Blog
-        fields = ('feedurl', 'team', 'twitteruser', 'authorfilter')
+        fields = ('feedurl', 'team', 'authorfilter')
 
     def __init__(self, request, *args, **kwargs):
         self.request = request