]> git.parisson.com Git - django-social-auth.git/commitdiff
added documentation for SOCIAL_AUTH_PROTECTED_USER_FIELDS
authorHannes Struss <x@hannesstruss.de>
Thu, 7 Jun 2012 16:52:54 +0000 (18:52 +0200)
committerHannes Struss <x@hannesstruss.de>
Thu, 7 Jun 2012 16:52:54 +0000 (18:52 +0200)
README.rst

index e515169d645d441e18ec59ed15a522618ba46225..2240246b59f75fe839b7778271a3e8406252683e 100644 (file)
@@ -265,6 +265,12 @@ Configuration
   Also more extra values will be stored if defined, details about this setting
   are listed below on OpenId and OAuth sections.
 
+- The update_user_details pipeline processor will set certain fields on user
+  objects, such as ``email``. Set this to a list of fields you only want to 
+  set for newly created users:
+
+    SOCIAL_AUTH_PROTECTED_USER_FIELDS = ['email',]
+
   Session expiration time is an special value, it's recommended to define::
 
     SOCIAL_AUTH_EXPIRATION = 'expires'