Skip to content
This repository has been archived by the owner on Jan 24, 2020. It is now read-only.

Commit

Permalink
Elaborated on configuring some settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Bouke committed Aug 26, 2012
1 parent 9d81bcb commit 5733e5d
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ pages. To do this, configure the ``LOGIN_`` settings:
LOGIN_REDIRECT_URL = '/'
LOGIN_URL = '/federated/login/'

Extra settings
==============
Settings
========

These are the customizable settings:

Expand All @@ -75,10 +75,14 @@ These are the customizable settings:
Whether to create a user account when unknown e-mail address is presented.

``FL_USER_FACTORY`` (Default: ``'federated_login.auth.user_factory'``)
Function that is called when creating a user account.
Function that is called when creating a user account. This user factory
creates users with super admin privileges, provide a custom factory to
change this behaviour.

``FL_SSO_ENDPOINT`` (Default: Google Apps)
Override this setting to link with another OpenID identity provider.
Override this setting to link with another OpenID identity provider. The
``FL_APPS_DOMAIN`` setting will have no effect when providing a custom
``FL_SSO_ENDPOINT``.

``FL_USER_CLASS`` (Default: ``'django.contrib.auth.models.User'``)
Django model class to used to create and query for users.

0 comments on commit 5733e5d

Please sign in to comment.