Custom login handler: how things work?

Author Message

Marin Orlic

Thursday 15 December 2005 10:55:32 am

Hi all,

I'm working on a custom login handler, so please have patience with me and consider this an open thread for all my rants :)

So to start - why is login handler called multiple times for login?

- it is called with NULL login and email when the login form is displayed
- when user fills in the required data login handler is called twice again:
- with NULL login and email
- again with the correct data

Kristof Coomans

Friday 16 December 2005 1:04:29 am

Some time ago, I've reported the calls with NULL login and email as a bug: http://ez.no/bugs/view/7461.

Some information on how to make your own login handler can be found in the old documentation: http://ez.no/products/ez_publish_cms/documentation/configuration/configuration/login_handler/how_to_make_your_own_handler

You can also take a look at some login handlers in community/contributions/hacks, like http://ez.no/community/contribs/hacks/cookie_user and http://ez.no/community/contribs/hacks/super_user.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.