]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/forms/auth.py
OSQA-828, Support fullname to real_name mapping from OpenID providers
[osqa.git] / forum / forms / auth.py
index 9bf2d671e40bbf7e2158e01145c2382066be73c2..0d07ce81ad8d2d7ea4f896a6338822d85cc7d0d4 100644 (file)
@@ -1,4 +1,4 @@
-from general import NextUrlField,  UserNameField,  UserEmailField, SetPasswordForm
+from general import NextUrlField,  UserNameField,  UserEmailField, UserRealNameField, SetPasswordForm
 from forum.models import Question, User
 from django.contrib.contenttypes.models import ContentType
 from django.utils.translation import ugettext as _
@@ -10,6 +10,7 @@ class SimpleRegistrationForm(forms.Form):
     next = NextUrlField()
     username = UserNameField()
     email = UserEmailField()
+    real_name = UserRealNameField()
 
 class TemporaryLoginRequestForm(forms.Form):
     def __init__(self, data=None):