Note

This is a public alpha release, and therefore features and functionality may change and the software and documentation may contain technical bugs or other issues. If you discover any issues please consider registering a GitHub issue.

profiles.social_auth module

Module containing customisations to the Python Social Auth pipeline.

See https://python-social-auth.readthedocs.io/en/latest/

profiles.social_auth.create_user_disabled(strategy, details, backend, user=None, *args, **kwargs)[source]

Create a user account for the user being authenticated - but mark it as disabled.

A new user must have their account enabled by an admin before they are able to log in.

profiles.social_auth.email_admins(strategy, details, backend, user=None, *args, **kwargs)[source]

Email the PEDASI admins if a new account has been created and requires approval