Announcement

  •  » Requests
  •  » Event for identification

#1 2011-07-06 09:34:20

J.Commelin
Member
2011-01-08
36

Event for identification

Hi Piwigo Team,

I am trying to write my own login system. But at the moment there is no event
triggered in identification.php. The same applies to the quick-login on the
homepage.

This makes it quite difficult to replace the login-system, or to hook on to it.
Actually I want to replace the authentication with Digest Authentication. [See
http://en.wikipedia.org/wiki/Digest_acc … entication for more info.]

Do you have an idea on how to solve this? Ideally I would see some event
triggered at the top of identification.php, and probably also for the
quick-login.

Thanks,
J.Commelin

Offline

 

#2 2011-07-06 10:21:39

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: Event for identification

Code:

if (script_basename() == 'identification')
{
  add_event_handler('init', 'digest_auth_my_function');
}

function digest_auth_my_function()
{
...
}

Offline

 
  •  » Requests
  •  » Event for identification

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact