The auth plugin implements the PyLucid own JS-SHA-Login. You must only insert the lucidTag somewhere into the global page template:

{% lucidTag auth %}

important: Your page template must contain a CSS id=page_content ! Otherwise the AJAX Login doesn't work. e.g. surround the page content with this:

<div id="page_content">


(New in v1.1.0)

The auth plugin does also provide a simple login honypot as a PluginPage view.
This view render a simple Username/Passwort login form. But the input would not really checked. The given username/password would be only stored into a separate model and response a error back.

The models are designed to automatic count double username, passwords and the remote IP Address.
To see this go to:

  • Django admin site / Auth / Honypot auths (or the other models starts with "Honypot...")


Create a new PluginPage with:

  • PyLucid admin menu / create content / new plugin page

Choose pylucid_plugins.auth as App label

Maybe set slug to login and put it to the root...

fake login link

The login link looks normally like this:

<a href="#top" ... onclick="return get_pylucid_ajax_view('?auth=login');" ...>

To change #top to the honypot login page, activate use honypot here:

  • DBpreferences / Preferences and change AuthPreferencesForm

If you activate this, you can deactivate Showlinks under PageTree - Permissions, so the honypot login page will be hide from menu/sitemap etc.