Source

django-publicauth / publicauth / forms.py

Diff from to

publicauth/forms.py

 
 
 class ExtraForm(forms.Form):
-    def __init__(self, *args, **kwargs):
-        """
-        Form with fields from backend PROFILE_MAPPINGS setting.
-        """
-        fields = kwargs.pop("fields", {})
-        for key, value in fields.values():
-            self.base_fields[key] = value
-        super(ExtraForm, self).__init__(*args, **kwargs)
+    
+    username = forms.CharField(min_length=3, max_length=25, label="Display Name")
 
     def clean_username(self):
         if get_object_or_None(User, username=self.cleaned_data['username']):