docs/api/profile.rst
author Denis Laxalde <denis@laxalde.org>
Wed, 29 Apr 2015 22:46:17 +0200
changeset 11575 97110b4af42f
parent 11537 caf268942436
permissions -rw-r--r--
Handle absence of anonymous user Set cw_session and then cw_cnx request attributes to None in case anonymous connection is not allowed (i.e. no "anon" user in config). Then catch AuthenticationError in CubicWebPyramidHandler and return the 'login' view. Closes #4751862.

.. _profile_module:

:mod:`pyramid_cubicweb.profile`
===============================

.. automodule:: pyramid_cubicweb.profile

    Views
    -----

    .. autofunction:: ping

    .. autofunction:: cnx

    WSGI
    ----

    .. autofunction:: wsgi_profile